Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with 232SDA12 module from B&B

I tried to communicate with a 232SDA12 module from B&B but it works sometimes only. I modified VISA serial examples and also Gary Jonhson Eurotherm 800 VI. Very few time it gives me back a fast answer, I mean, a good communication. Normally a receive an error after the time-out of the read VI.
rgds,
Haroldo - Brasil
LV 7.0
0 Kudos
Message 1 of 2
(3,443 Views)
Hello Haroldo,

Thank you for contacting National Instruments.

It seems like this error might be related to your device. One thing you can do to test this is to run a serial loopback test. Please see the Knowledge Base linked below for information about the loopback test.
http://digital.ni.com/public.nsf/websearch/E22DA85E97818DE78625678C0069BFC9?OpenDocument
If you are able to verify that you are sending out the serial commands correctly, then it becomes a matter of determining if your device is responding correctly to those commands. You could be getting the time out error because your device is not responding to the command in the specified time.
Also make sure that you are terminating your serial command correctly. If your device requires a special
termination character, make sure you are sending that.

I hope this helps,

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,443 Views)