Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication

I am trying to use LabView program to communicate with a Temperature control instrument from NESLAB (RTE140 Bath/Circulator). The program I am using is Serial communication.vi that ships with LabView. When I write instrument command (from instrument manual) and run the program, the instrument has no response. When I use the manufacturer provided software, it works well. I did the loopback test and it works. That means there is no problem on hardware. Also, I sent the instrument command to serial port in Tera Term directly and the instrument received the command. I checked for the termination characters (\n) as well. Please help.
0 Kudos
Message 1 of 3
(3,341 Views)
Serial communication can be very tricky. I would suggest you look through

http://www.ni.com/support/serial/

which contains helpful links and information on diagnosing where the problem is occurring.

Ryan Tamblin
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,341 Views)
I see in the serial communication.vi that the serial port is opend with default parameters (usually 9600 baud rate, 8 data bits, 1 stop bit, and no parity, but maybe in MAX or control panel are selected different parameters): are these correct for your instrument?
Second tip: which timeout have you put in the vi?
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(3,341 Views)