Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Send data from myRIO to roboRIO

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? 

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

Hi ByCesC,

 

Check this http://digital.ni.com/public.nsf/allkb/5F30CD20D4D986CC862576CF00748B15 and this http://digital.ni.com/public.nsf/allkb/35F1FD98520D6E0E8625783A005AF557. It seems it's not possible but this means it's complicated. I'd suggest using another communication protocol.

 

Regards,

PedroR

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