Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a digital I/O module on a cDAQ as a UART interface

Hi all!

I have a cDAQ-9174 with an empty slot, and I need to communicate with a board which has a 3V UART interface. Can I use a digital input and a digital output of a digital I/O C-module in order to generate a UART interface? Of course, I wouldn't like to "build" the RS232 protocol myself in LabView, but I'm looking for a simple solution.

Which C-module would be my best choice?

 

And, if this is not possible, have you got any suggestion on how to solve? Maybe a NI-9411 with an external UART-RS422 converter could do the job, could it?

 

Thanks in advance for your help.

 

Regards,

Stefano

0 Kudos
Message 1 of 3
(1,067 Views)

I recommend just getting an USB-RS232 adapter you like (I am a fan of StarTech) and then an adapter to convert to LVTTL levels (BB-232LPTTL33).  Then you can just use VISA.  This will be A LOT simpler than trying to get a DIO module to do what you want.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(1,040 Views)

Unfortunately I cannot use a USB-RS232 adapter (I even have one with LVTTL levels on the RS232 side): I need to directly connect the two systems as I need to bypass all OS delays, so a USB adapter is not an option.

The board UART is configurable as I want, anyway, and at the end I only need to receive data from the board. I don't know if this can help.

0 Kudos
Message 3 of 3
(1,014 Views)