Hello,
I am new to LabVIEW and my questions would be obvious for some for you. So please help if you know the solution.
This is for my school project. For your information, we need to program an Altera DE2 board to control the traffic lights (something like that) and at the same time, the board transmits the states of the lights to a computer with LabVIEW installed via RS-232 cable.
The rest of the project was going well except for the LabVIEW part because as I said earlier, I am new to LabVIEW.
We are using the 'Basic Serial Write and Read.vi' provided in the NI examples folder. The problem is that we don't know how to modify the vi in order to receive continuously the data coming form the DE2 board. Each time, the vi stops to read after it received 24 bytes of data.
Thus, the first question is:
1.) How to read continuously from the RS-232 port? (We tried to use 'while loop' but with no success, maybe we were doing it the wrong way.) If you know the solution, please shed some light for us in a detailed manner.
[url=http://www.theengineeringprojects.com/2014/10/get-continuous-data-from-com-port-in-labview.html]GET CONTINUOUS DATA FROM COM PORT IN LABVIEW