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

Send data from myRIO to roboRIO

$
0
0

So, I'm the main programmer of a team of FRC (First Robotics Competition) 

and I want to use a myRIO as a coprocessor to run the vision assistant algorithm that I prepared (this is meant for not saturating the roboRIO's processor) the thing here is that to accomplish this, I'm planning on using VISA  to open one usb port from myRIO, to send data of all the numbers that the vision assistant script returned, and transport this data using an USB cable connected from the USB port in myRIO to an USB port in the RoboRIO.

My questions are:  Is this possible? How can I make VISA detect myRIO's USB port, instead of my PC usb ports?

Within the VISA Write function (which is the function I'm planning to use to send data between both RIO's), how can I transform the data that the vision algorithm returned into the write buffer parameter found in the VISA Write function? 


Viewing all articles
Browse latest Browse all 5565

Trending Articles