Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication between computer and cRIO

Solved!
Go to solution

Hello,

 

I am not new to Labview or cRIO programming, however, am venturing into to my first trial at serial communication.  I have a controller (not of NI origin) that sends data over an RS232 serial network that I would like to log parallel to data that I am collecting with a cRIO.  Before I get to integrating, I am attempting to test communications using a serial cable, my computer and hyperterminal and the cRIO serial port.  I have followed and validated the operation and drivers with the following:

 

How to Do a Serial Loopback Test
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHn8CAG&l=en-US

 

However, when I try to use the following example, I get nothing:

 

Serial Data Transfer Between cRIO and Host
https://forums.ni.com/t5/Archive-TKB/Serial-Data-Transfer-Between-cRIO-and-Host/ta-p/3521823

 

Any ideas on where to start?  I greatly appreciate any advice.

 

Thanks.

 

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

Is your cable a straight through or a NULL Modem?  I think you will need a NULL Modem cable.  That basically means the the TX on one side is tied to the RX on the other and visa versa.



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
(3,687 Views)
Solution
Accepted by topic author Eric_Lang

I've confirmed it is a straight through.  I will try a null modem cable.

 

Thanks!

0 Kudos
Message 3 of 3
(3,682 Views)