Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   using digital inputs from the driver station (http://www.chiefdelphi.com/forums/showthread.php?t=73519)

SL8 03-02-2009 04:32

using digital inputs from the driver station
 
I'm not sure exactly how to utilize them.
I know that the Driver Station Get dig In samples all of the digital inputs....
but do you have to insert the values into an array before you can see if a certain switch hooked up to the driver station is sending true or false, and if so... how do you do that?

Basically, I am trying to have a switch on the driver station return true or false, but I have found that u can't wire the Driver Station GetDig In directly to a conditional.

Any help would be greatly appreciated. Thanks.

Joe Ross 03-02-2009 14:01

Re: using digital inputs from the driver station
 
The Driver Station Get Digital Inputs VI outputs an array of booleans. You can use the index array VI to get an individual value.

Jranko311 04-02-2009 15:53

Re: using digital inputs from the driver station
 
You can also take the Boolean array and make it a Cluster with the arroay to cluster function. Then you can unbundle the cluster, using unbundle by name. That is how we are doing it.


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

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