FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Need Labview help immediately!!!

I am a beginner with labview and I am trying to figure out how to write a code to program a button on the joystick to turn on/off a motor for our launcher. I am in a C programming class but Labview is much different than C. Please help me as much as possible and as soon as possible!!

0 Kudos
Message 1 of 8
(5,121 Views)

There is a good example of this in the LabVIEW FRC training. This can be found by going to ni.com/frc and there is a couple of links. The one labeled LabVIEW FRC Training powerpoint >> Beginner.ppt. On slide 58 it discusses an exercise which implements a joystick button in a program. The solution for this exercise is also referenced. This presentation will also be helpful if you are new to LabVIEW FRC!

Sunaina K.
Product Marketing Manager for CompactRIO & TSN

Making the intangible, tangible
0 Kudos
Message 2 of 8
(3,502 Views)

Thank you I will check this out because the program I wrote when we ran it we had robot communication but the joysticks did not seem to work. I am not sure if I missed a step in writing the program or what. I can send you my program later if you want or you can contact me by phone @ 951-490-3894

0 Kudos
Message 3 of 8
(3,502 Views)

Also another problem I have just so happened to run into is that our initial programmer dropped off the team but she brought the labview software home with her so I do not have access with working on the program at home on my lap top. Does anyone know a way to download Labview from online?

0 Kudos
Message 4 of 8
(3,502 Views)

Check if you have indicated the correct USB port for each Joystick in Begin.vi. Also, check if your computer is detecting the joysticks by going to Windows Start Menu>> In the search programs and files>> type in Set up USB game controllers.

You can download an evaluation version at ni.com/labview and click Download LabVIEW from the grey left hand menu.

Sunaina K.
Product Marketing Manager for CompactRIO & TSN

Making the intangible, tangible
0 Kudos
Message 5 of 8
(3,502 Views)

Okay thank you. I don't have the joysticks on me at the moment.

0 Kudos
Message 6 of 8
(3,502 Views)

Just wondering but what is an evaluation version?

0 Kudos
Message 7 of 8
(3,502 Views)

An evaluation version is an unlicensed version of non-FRC LabVIEW that you can use for 45 days for free.

If you want to use FRC LabVIEW you will need the DVD from the kit of parts and the updates from online.  There is no way to get the necessary FRC dependencies solely from the web.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 8 of 8
(3,502 Views)