10-17-2011 11:28 AM
I am using LabVIEW 2009 and MAX 4.7.6f0 and would like to find a way to watch serial port data coming live thru MAX does anyone have a suggestion?
10-18-2011 02:33 PM
Hello DLWrkrBee,
Have you tried to use the VISA test panels? You would just need to set a timeout long enough and buffer large enough to grab the all the data you are looking for.
What device do you have connected to the serial port?
In LabVIEW, you can poll the serial port for the number of "bytes at port" using the property node to see if any data is in the buffer.
10-24-2011 12:38 PM
Hi Tony,
I have connected a PLC to the cfp-2220 and we poll the serial and read 10 bytes and converted them to 5 U16 integers. How do we display those 5 integers in MAX and not LabView.
Thank You,
10-24-2011 04:48 PM
Hello, MAX is generally used for configuration, testing and information. It does not have an option to format incoming serial data.
You can view the raw data at the serial port using the VISA test panel but you will need another program to format the data into a readable unsigned 16bit integer or convert the raw data manually.