Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB Serial Input into CRio 9012

This is a hardware related question regarding inputs into a CRio 9012.  I have a prebuilt system (that I'd prefer not to touch) that outputs a string of serial data through a USB port.  On the prebuilt system, the data was converted from RS232 to USB with the use of a FTDI chip.  My goal is to read this data with the CRio, but as the on-board USB port isn't I/O, all I have access to is an on-board RS232 serial port and an analog input module (NI 9209).

 

Are there any good ways to read this data?  The simpler the better, but I wouldn't mind buying something like a Raspberry Pi to do the conversion if necessary.

 

I appreciate any help.  Thanks!

0 Kudos
Message 1 of 2
(3,372 Views)

Hello mries,

 

I have not personally used any converters from USB to RS232 (female DB9 port), but I can link you a few resources to help you get started on developing the cRIO code itself.

 

https://forums.ni.com/t5/LabVIEW/crio-serial-port/td-p/1145870

 

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/how-do-i-read-from-a-RS-232-to-cRIO/td-p/111...

 

From what I understand about your requirements it looks like a USB-232 or similar cable with a gender changer (on the DB9 connector) may be a good choice.


I hope this helps somewhat!

---
Alex C.
Applications Engineer
National Instruments
ni.com/support
0 Kudos
Message 2 of 2
(3,341 Views)