From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview FRC Team Code Problems!

Hello everyone!

I am trying to follow tutorials to get an understanding of how LABVIEW works. I am having a hard time since the vi's under the team code (ie. Begin.vi and Telop.vi) are different than the ones in the tutorial and what everyone is talking about in forums. I applied all the updates according to the instructions. What am I doing wrong?

THANK YOU

0 Kudos
Message 1 of 5
(4,768 Views)

Hi Retread,

The VIs are a little bit different than the tutorials because they were written prior to the update.  The ideas in the tutorials should work just the same.  What appears to be the problem you are having?

Good Luck!

Kyle

FIRST Applications Engineer

0 Kudos
Message 2 of 5
(2,817 Views)

Hi Kyle,

Thanks for the quick reply! What really concerned me was that when I look at other people's posts in the forum, it seems as though their .vi files are different than mine. Here is what my teleop.vi looks like when I begin a new cRIO project.

Myvi.JPG

Am I working the right project? I am new to LABVIEW and I don't know what I'm doing.

Thank you!

0 Kudos
Message 3 of 5
(2,817 Views)

Hi Retread,

It looks to be correct.  The template that is provided shows some sample code that could be useful for the game.  The other teams could have removed some of the code, like the Rotate to Target VI.  Aside from the addition of code, the tutorial should work correctly.

Good Luck!

Kyle

FIRST Applications Engineer

0 Kudos
Message 4 of 5
(2,817 Views)

Hi Retread,

You're not doing anything wrong; That is what the teleop VI should look like. What might have you confused is that most of the tutorials asks you to create this Robotics Project and to add the tutorial VI to it. In some cases that VI created in the tutorial isn't used in the Robot Main VI (or its subVI's) and acts as a completely separate program.

~Olivia

NI FIRST Support

0 Kudos
Message 5 of 5
(2,817 Views)