|
Re: Help - Selfish library functions... (Won't share)
My apologies for not being more clear. I have attached some screen shots.
When I asked the question, my program was as in the Main 3.0 shot. It's essentially a modified Arcade Drive Example. As both of you pointed out, I was having issues because I was trying to read everything from the cRIO, which due to my lack of understanding of how the system reads joystick information, was wrong.
What I'm attempting to do is on the driver's station, be able to read the joystick position and turn it into a keyboard command. I got confused regarding the Joystick VI's being on the cRIO, on how the system reads the joysticks. So I pulled out all of the guts and put it into a separate VI under My Computer.
Now my question is - how do the VI's communicate between My Computer and the cRIO? To be more specific, if I run my 3.5 VI's, the Main VI on the cRIO still reads, but how do I send that information to the My Computer VI? Do I have to make the inputs/outputs into shared/global variables?
__________________
Orlando Regional Planning Committee & Cohost of The RoboShow & RoboVision
Follow The RoboShow on Twitter @ RoboShowLive & check out our website, www.theroboshow.net
Follow RoboVision on Twitter @ RoboVisionOD & check out our website, www.robovisionod.com

"As president, I believe that robotics can inspire young people to pursue science and engineering. And I also want to keep an eye on those robots in case they try anything."
— President Barack Obama
|