Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

VISA Serial Read and Write on same MyRIO Chanel

$
0
0

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


Viewing all articles
Browse latest Browse all 5565

Trending Articles