Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I read RS 232 encoder with CompactRIO?

Hi, guys!

 

I have a RS 232 encoder and the CompactRio cRIO-9012 controller and I wonder to know if is it possible read a encoder through is serial port (RS 232)?

 

http://www.corrsys-datron.com/Support/Data_Sheets/CWPTA_000-811e.pdf - Encoder DataSheet

 

http://www.corrsys-datron.com/Support/Manuals/CWPTA_002-612e.pdf - Encoder Manual

 

If it's not possible, Could anyone guide me into some direction?!

 

 

Thanks a lot!

 

Daniel Paiva

 

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

Hello daniel Paiva.

 

Yes it's possible to use the serial port of the controller cRIO-9012 to communicate with your third party instruments and to do that please take a look at the links below.

 

The first one will teach you how to install the necessary software to enable this connection. Remember that you need to have installed the NI-Serial and VISA drivers to perform this communiction on your development computer, to then find those items in the software installation proccess in the cRIO controller. After realize the software installation, go to the second link and take a look at the chapter 8 to understand how to use the serial port.

 

http://www.ni.com/gettingstarted/setuphardware/compactrio/pt/controllersoftware.htm

 

http://www.ni.com/pdf/products/us/fullcriodevguide.pdf

 

I hope this helps you to develop your application and any other further questions feel free to ask.

 

Regards.

Marcio Soares
Applications Engineer
National Instruments Brasil
www.ni.com/suporte
0 Kudos
Message 2 of 2
(2,749 Views)