LabVIEW Code Questions

取消
显示结果 
搜索替代 
您的意思是: 

FRC 2022 - Network Tables "SD" routines

已解决!
转到解答

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 项奖励
1 条消息(共 2 条)
2,333 次查看
解答
已被主题作者 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 项奖励
2 条消息(共 2 条)
2,304 次查看