Go to Post Maybe it's the guy who doesn't stop drawing in his notebook in class, or the girl who writes the best essays in English. What team can't use their skills? - KathieK [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 13-01-2015, 21:22
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 991
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: How to use Virtual DIO Analog IO on DS

SmartDashboard.getX (getNumber, getBoolean, getString) are probably what you're looking for (it sounds like you already know about SendableChooser).

If you're using the default LabVIEW dashboard check out this doc: http://wpilib.screenstepslive.com/s/...th-c-java-code

If you're using the SmartDashboard, you'll need to do a put of the key at some point (such as robotInit) to get it into the table. Then you can edit the value in the box on the SmartDashboard and do a get on the robot side (likely repeatedly in disabledPeriodic or teleopPeriodic).

Make sure to specify a default value when using the gets so your program still works if the SD is not connected.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi