06-17-2021 10:41 AM
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
06-17-2021 11:44 AM
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.
06-18-2021 02:15 AM
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.