Go to Post I haven't invented anything for an hour or two. I need to get back to work. - MrForbes [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 08-02-2010, 23:04
ssica_jj ssica_jj is offline
Registered User
FRC #0368 (TKM)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Hawaii
Posts: 9
ssica_jj is an unknown quantity at this point
Re: problems with using switches for autonomous

Quote:
Originally Posted by Alan Anderson View Post
You still haven't said how you are determining that the value isn't being read. Are you probing any of the wires to find out whether the data from the Driver Station digital inputs is making it out of the Get Dig In?
When we ran the code, to check the values, we turned on the 'highlight execution' and saw that the only value being read is 0.

Quote:
Originally Posted by Alan Anderson View Post
I dont know why you're storing a string of text "1" and "0" characters in something called "Program Num", I am having a hard time understanding why you are doing a Concatenate instead of using the Append T/F String vi to do the appending it is designed for, and I have no idea why you put a Get Dig In there three times. Can you describe what that code is supposed to be doing?
There are 3 Get Dig In because we are using 3 switches. We are converting the value into string then concatenating them in order to create different combination for the case selector in autonomous. That way, we can have multiple autonomous modes and switch between them between matches without re-downloading the code each time. We are using the Append T/F String.vi to convert the digital input value into string.
Attached Thumbnails
Click image for larger version

Name:	2010disabled_wlabel.jpg
Views:	44
Size:	141.2 KB
ID:	8573  Click image for larger version

Name:	2009 atuo.jpg
Views:	45
Size:	145.3 KB
ID:	8574  
Reply With Quote
 


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 toggle switches to DS for different autonomous routines? grosh NI LabVIEW 9 30-03-2009 20:42
Problems with using 330's goal tracking code windell747 NI LabVIEW 11 16-02-2009 13:02
Using Limit Switches with the Arm iwin2000 Programming 3 18-02-2008 03:52
Problems with transmission using Inventor 8 Drew Hopman Inventor 4 10-01-2005 19:07
laser radar with BS2p using RS232 problems... chei_UCF19 Programming 6 26-02-2004 15:21


All times are GMT -5. The time now is 11:58.

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