Go to Post I need a This-Is-What-I-Meant checker. - N7UJJ [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2009, 04:32
SL8's Avatar
SL8 SL8 is offline
...
AKA: Jesus
FRC #0647 (Cyber Wolf Corps)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: Killeen, Texas (Fort Hood)
Posts: 352
SL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud ofSL8 has much to be proud of
Send a message via Yahoo to SL8
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.
__________________


Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2009, 14:01
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2009, 15:53
Jranko311 Jranko311 is offline
Mentor-Programmer-Design Engineer
AKA: Jon Hrenko
FRC #0155 (Technonuts)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2002
Location: Berlin, CT
Posts: 12
Jranko311 is an unknown quantity at this point
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.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Digital Inputs from Driver Station spooncwru Programming 8 01-02-2009 13:14
LabVIEW - Analog inputs from driver station lag? RedOctober45 NI LabVIEW 1 30-01-2009 10:39
Digital Outputs on the Driver Station with C/C++ Bongle C/C++ 6 26-01-2009 15:45
Using driver station digital inputs Japper FRC Control System 6 19-01-2009 20:01
Using Analog Inputs as Digital (on the OI) Guy Davidson Control System 16 10-03-2008 17:17


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

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