View Single Post
  #4   Spotlight this post!  
Unread 03-06-2010, 13:25
Swan217's Avatar
Happy Birthday! Swan217 Swan217 is offline
RoboShow Producer
AKA: DJ Royal Fusion
no team (RoboShow)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Detroit Raised, Orlando Adopted
Posts: 568
Swan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond repute
Send a message via AIM to Swan217
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?
Attached Thumbnails
Click image for larger version

Name:	Main 3.0 (On CRIO)-1.jpg
Views:	30
Size:	143.6 KB
ID:	9136  Click image for larger version

Name:	Main 3.5 (Arcade Rev)-1.jpg
Views:	22
Size:	142.8 KB
ID:	9137  Click image for larger version

Name:	Dashboard 3.5 (Joystick In)-1.jpg
Views:	19
Size:	143.9 KB
ID:	9138  
__________________
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
Reply With Quote