LabVIEW Code Questions

cancel
Showing results for 
Search instead for 
Did you mean: 

FRC 2022 - Network Tables "SD" routines

Solved!
Go to solution

The template "Shooter" robot project uses the "SD" Network tables write VIs.  These can be found in Teleop.vi, Begin.vi, and Auto....vi.  When running robot main on a PC, the values written by these VI do not show up on the dashboard.  See screen shot.  (One example is the drive motor output values.)  After replacing these with the NT Network Tables write VIs, everything worked okay. 

 

If the SD routine are obsolete, should they be removed?

 

I didn't check the other template projects for SD routines.  I also didn't try this on a roboRIO.

 

(The driver station was set to Teleop enabled both times.)

 

Before

shooter-robot-missing-nt-values2.PNG

 

After changing SD to NT.

 

shooter-robot-after-change-to-nt.PNG

Thanks

Jim

 

0 Kudos
Message 1 of 2
(1,441 Views)
Solution
Accepted by topic author JimASim

The original VIs were SD. They were deprecated, and replaced with NT. Technically, the SD VIs should work. I spent a little time debugging, and they aren't sending their name to the clients. I think that it may be time to fully delete them and fix the templates to use NT. I see no reason for anyone to still be using SD.

0 Kudos
Message 2 of 2
(1,412 Views)