Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Serial Read and Write on same MyRIO Chanel

I'm working on a project where I'm trying to get three ground drones communicating with a central control computer (that runs LabVIEW also) using XBee antennas on NI MyRIOs to do a CRC. I would like to keep transmitted messages as simple UART serial strings. I was wondering if there was a way to configure a UART port on a MyRIO to where it could send and receive on the same channels automatically through the XBee antenna.

 

I found this example vi (serial_exercise.vi) (http://www.ni.com/example/27423/en/) to where it sends and receives the message on the same port, but its dependent upon using a boolean to switch between sending an receiving messages.

serial_exercise_vi.JPG

0 Kudos
Message 1 of 2
(2,598 Views)

thedawg1993,

 

This is a duplicate post to VISA Serial Read and Write on same MyRIO Channel. I have posted a response there.

 

Regards,

Alyssa H.

National Instruments

0 Kudos
Message 2 of 2
(2,555 Views)