11-11-2010 08:45 PM
Hi All,
I use MSCOMM to make a serial port communication. The callback function is for serial port receiving.
But I don't know how many characters the callback function trigger receiving. And which symbol it
recognize as a finishing slash.
11-11-2010 09:35 PM
Add a picture to make it more clear.
11-12-2010 05:00 PM
Hi Amanda,
Termination characters are device specific and can generally be found in the manual for your specific serial device. What device are you communicating with?
Also, I was wondering why you chose to use MSCOMM instead of National Instruments' VISA driver (found here). The VISA driver handles serial communication very well in LabVIEW, while MSCOMM seems to be older.
Otherwise, here's an example that uses MSCOMM.
Using the MSCOmm32.ocx in LabVIEW
Try running this code (you will need to make some modifications).
Have a great day!
Tanya