LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 485

I am communicating with the device where it uses RS485 to scan for the
device and report the devices available.
Is there any template or example VI which can be used as startup to
Wake Up from sleep mode, unit will acknowledge. Power on Self test and
reboot and the unit will respond?
thanks!!
0 Kudos
Message 1 of 3
(3,036 Views)
RS485 is used by thousands of different units. Normally it will look just like a standard serial port to the application and you can use the serial VIs to communicate.

The scan for device, acknowledge etc. that you describe is not part of the RS485 standard, it must be something specific for the device you have. What type of device are we talking about?
Message 2 of 3
(3,036 Views)
I wanted to add a quick note to what Mads had mentioned.

If you are using LabVIEW 7.0 then you can use the I/O Assistant, which will help you get the communication up and running quickly. In addition it helps you parse out the results, and when you are all done it will generate LABVIWE code for you.

Another place to check is Instrument Driver Network. That web page has thousands of instrument drivers for specific instruments. So your instrument may already have VIs written for it that can help you get started with the communication.

I would suggest looking at the Assistant along with the manual for you instrument.

Evan
National Instruments
0 Kudos
Message 3 of 3
(3,036 Views)