03-31-2006 09:42 PM
04-03-2006 07:58 PM - edited 04-03-2006 07:58 PM
Hi rryckman,
If you are using LabVIEW, you can use the "Number of Bytes at Serial Port" property node to get the number of bytes currently at the port. You can then have a part of your program test whether or not this number is 0 and proceed with the program accordingly. I have attached a picture with 2 examples on using this. This property node is also used in the example called "Basic Serial Write and Read.vi", which is located in the Hardware Input and Output folder of your Example Finder in LabVIEW.
I hope this helps, but let me know if you still need assistance!
Chris R.
Applications Engineer
National Instruments
Message Edited by Chris_R. on 04-03-2006 07:59 PM