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 Tank Drive Code

Solved!
Go to solution

I am building code for tank drive based on our code from last year, and new sources. However, there is an element that I just cannot find. Could anyone tell me what this is and where to find it?   

Capture.PNG

0 Kudos
Message 1 of 3
(4,323 Views)
Solution
Accepted by shopteacher04

That vi is an old 2014 version of the now NT Write Value.

These are the vis that send data to the dashboard and they were updated in 2015.

The reason you can't find it is because it is not in the pallets anymore in 2015.

The new templated teleop looks like this now

New look of nt variables.png

The new "NT Write Value.vi" is found in the dashboard pallet

nt libs.png

I would right click on the old vi and replace it with the new "NT Write Value.vi" found the the dashboard pallet

rc on replace.png

The wires still may be broken after the replace.

broken.png

Delete the broken wire

Click on the selection menu below the vi and select "NT Write Numeric Array"

Wire the ouput of the Drive vi to the input of the NT vi


select.png

Hope this helps

0 Kudos
Message 2 of 3
(4,286 Views)

Thank you so much!

0 Kudos
Message 3 of 3
(4,286 Views)