12-27-2013 09:54 AM
I am using Labview 8.6 on Windows XP OS and acquiring signal from RS-232 through COM1 port to which I have connected non NI instrument. My instrument sends data for flash of second and it displayed into String Indicator for flash of second. How to hold this data untill I get new data from instrument. I have tried to select "re-initialise to default value" and "make current value default" but none of them getting selected. I want data to be retained untill new data comes. I have enclosed VI as well as Picture file. Pl advice.
12-27-2013 10:28 AM
Your VI appears to be based on the basic serial example and this is not a very good example, quite frankly. You have the termination character enabled and you are also using the VISA Bytes at Serial Port. You should never use VISA Bytes at Serial Port when your device is sending a termination character. You simply use an arbitrary high number for the byte count. The VISA Read will automatically terminate when the term character is detected. If your device is always sending, this should be all that you need. For a device that requires a command before transmitting data, your VI is backwards in that you are doing a read before a write.
12-27-2013 11:09 AM