problem with result from COM port


Recommended Posts

Hi Admin,

I receive data from COM port with format AI1M1V0.029\225, sometimes is AI1M1V0.029\133, so, I don't known How receive data exactly?

Can you guide me receive data exactly? the value 225 or 133 is random. If I use Read(12), accurate results only for about 10 first reading.

Thanks in advance.

Link to comment
Share on other sites

DAQFactory just reads whatever is on the serial port. If its 133 or 255 then its probably an issue with the hardware. At first I'd say noise on the line, but that would probably cause other characters to be random. So, its probably in your actual hardware implementation. Your device is actually sending that character. It won't show in Hyperterminal because those aren't printable characters.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.