LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rs485 connection in labview 2010

Hello all,

 

Currently I'm looking for a solution to communicate through rs485.

I've got a rs232 cable with a rs232 tot rs485 converter.

I'm able to communicate within a VB program. So everything is working.

Now my question: How to do this within Labview?

Which examples can I use to get this running?

 

Btw: I've got a very low budget so I'm not in the position to buy an NI usb to 485 cable.

 

Thanks in advantage,

 

Patrick

0 Kudos
Message 1 of 2
(2,570 Views)

I can certainly tell you that what you're doing is possible, as there are instances in my workplace where we use RS232 to RS485 converters - just not always successfully. So long as the hardware is doing what it needs to, which it should be if the VB program is communicating it is, then just look at the standard VISA serial examples because that is exactly what you have as far as you're concerned.

 

Whatever you did in VB to talk to the 485 - open the appropriate serial port, write X command, read N bytes, are all available. Open up the Example finder and search for the keyword serial and you will get a lot more than you need. All you're doing with that style of converter in place is dealing with a serial port on COM?.

 

You may also want to check out http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/VISA-RS-485/td-p/34544  as just an example of somewhere else this has been discussed.

 

 

0 Kudos
Message 2 of 2
(2,561 Views)