06-20-2012 01:44 PM
Hello,
I am a EE student working a project. This portion requires a TEDS transducer and a DPM-3 from Transducer Techniques to my PC via RS232/USB. I am using the Basic Serial Read and Write. vi. The device is set to output continuous readings. As the via is running, I am getting very weird ASCII characters such as symbols, letters, punctuation... etc. Along with this I am getting OK(1073676294) from the error out. I am not sure what is occuring, any guidance would be lovely.
Thanks,
06-20-2012 02:15 PM
I feel this has something to do with baud rates.. The COM port is at 9600, the device is at 9600 and the vi is 9600, I also tried 19200.
Danny
06-20-2012 02:24 PM
Correction:
Using 19200 gives: Error -1073807339 occuring at VISA Read
Timeout expired before operation completed.
Thanks,
06-21-2012 12:19 AM
Not only baud rate, you should also check Databits (7 or 8), Stopbits (1, 1.5, or 2), Parity (none, odd, even), and Flow Control. If one of them mismatches, communications may corrupt.
06-21-2012 09:06 AM
Yes thank you, I had a problem with the stopbit yesterday, and its working fine now.
Danny