Instrument Control (GPIB, Serial, VISA, IVI)

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)? - Encoder DataSheet - 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

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.


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



Marcio Soares
Applications Engineer
National Instruments Brasil
0 Kudos
Message 2 of 2