Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface SICK LMS 2xx laser scanner (RS422) to cRIO9014/9116 using NI 9871

Hi,

 

My system consists of cRIO 9014 and 9116 chassis with a NI 9871 module (for RS485/422).  I would like to interface to a SICK LMS 2xx laser scanner that runs on RS422 at 500 kbaud.

 

For the SICK scanner, a LabVIEW driver is available (see bottom) that makes our life easier.  However, it requires to specify VISA device.  I have tested it with RS232 on the cRIO at 9600 baud (We can interface using RS232, but it is too slow.  To get all information, it needs RS422 at 500 kbaud).  It worked pretty well.  Programming is pretty easy.

 

For the NI 9871, I have found an example from the Example Finder to establish the serial communication.  However, it does not provide a VISA interface.  Therefore, I could not set the SICK driver to talk to cRIO.

 

Do you have any ways to bridge VISA and SICK LMS driver togather?

 

 

Thank you very much,

 

Vasu

 

SICK LMS 2xx driver:

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=523F16CDD397108FE0440003BA7CCD...

Message 1 of 3
(4,774 Views)

In order to use the Sick driver on the cRIO it would have to have support for the Real Time Opperating system. I did not find an appropriate driver so you will have to write a VISA interface that can communicate with the RS422 line. I found some information on a page from Drexel university that includes steps for reading in the raw serial data and parsing it. If you can write a similar LabVIEW application using VISA commands you should be able to interact with the sensor.

 

If you do write a VISA driver for this device please post it on the Developer Zone Community!

 

Message 2 of 3
(4,744 Views)

Thanks Hunter, I will work on it and post for the update.

 

-Vasu

0 Kudos
Message 3 of 3
(4,739 Views)