Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-485 and LabVIEW

Hi, I’m just learning LabVIEW so I’m not that good at it yet, but I’m trying to write a program that can communicate with a temperature monitoring device using RS-485.  I was able to do this using RS-232 and the given LabVIEW examples but when I switch my device to 485 and tried the LabVIEW 485 examples I can’t get it to talk.  I know the device is working because I’m able to use HyperTerminal and communicate with it.  Any one work on something like this before or have any ideas?

Vince Warner
CoorsTek, Inc.
vwarner@coorstek.com
Message 1 of 4
(4,079 Views)
Are you using an National Instruments RS-485 card or an RS-232 (or USB) to RS-485 converter?
Is cabling correct?
Does the vendor have software (non-LabVIEW) you can download to test?
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 2 of 4
(4,056 Views)

Hi Vince,

Also check for proper termination as Hyperterminal automatically adds termination, but LabVIEW does not.  \r\n usually does the trick to terminate as Hyperterminal does.

Chris R.
Applications Engineer
National Instruments
Message 3 of 4
(4,048 Views)
Thanks Chris that was the problem
Vince Warner
CoorsTek, Inc.
vwarner@coorstek.com
0 Kudos
Message 4 of 4
(4,034 Views)