Go to Post Some clever fellow a few years back made a little scooter based on this principal and made so much on the idea he can afford the finest denim in the land. - phrontist [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
  #16   Spotlight this post!  
Unread 09-02-2010, 10:05
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,560
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: problems with using switches for autonomous

Are you using compatibility i/o or extended i/o?

Alan, you forgot the code fragment.
Reply With Quote
  #17   Spotlight this post!  
Unread 09-02-2010, 16:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: problems with using switches for autonomous

Quote:
Originally Posted by Joe Ross View Post
Alan, you forgot the code fragment.
I thought it was there when I wrote the post this morning. Here it is (again).
Attached Thumbnails
Click image for larger version

Name:	Autonomous Select.jpg
Views:	52
Size:	41.7 KB
ID:	8583  
Reply With Quote
  #18   Spotlight this post!  
Unread 09-02-2010, 23:12
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
Smile Re: problems with using switches for autonomous

Quote:
Originally Posted by Alan Anderson View Post
I thought it was there when I wrote the post this morning. Here it is (again).
We tried what you suggested. It works! Thank you for your help! We really appreciate it.
Reply With Quote
  #19   Spotlight this post!  
Unread 14-02-2010, 17:07
fkm300 fkm300 is offline
Registered User
no team
 
Join Date: Jan 2009
Location: USA
Posts: 4
fkm300 is an unknown quantity at this point
Re: problems with using switches for autonomous

We are having similar problems with getting the PSoC inputs to be seen on the Dashboard. We have placed Get Dig In on the Dashboard.vi but don't see any states change. The states do change on the Driver Station. Does anyone have any suggestions on what we should do?

Thanks!
Komal
Reply With Quote
  #20   Spotlight this post!  
Unread 14-02-2010, 18:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: problems with using switches for autonomous

The Get Digital In vi only works on the robot. If you want to show its output on the Dashboard, the robot program will have to send it in the Dashboard data and the Dashboard program will have to retrieve it from there.
Reply With Quote
  #21   Spotlight this post!  
Unread 12-03-2010, 11:31
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: problems with using switches for autonomous

Quote:
Originally Posted by ssica_jj View Post
We ran the RobotMain.vi in the project containing the code. We connect the laptop to the router which is connected to the driver station.

Attached is a screen shot of our code.
we have our auton. working in the same way you guys do except on ours we have the boolean output of the "get Dig. in" block going to a block that gets the ID of the switch and goes directly into a case structure. inside the case we have different "pages" that have different auton. programs. the DIG. In is what controls the program.
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
Reply With Quote
  #22   Spotlight this post!  
Unread 13-03-2010, 21:39
garrettg garrettg is offline
Registered User
FRC #1528 (Monroe Trojan Robotics (formerly iPirates))
Team Role: College Student
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Monroe, MI, USA
Posts: 10
garrettg is an unknown quantity at this point
Re: problems with using switches for autonomous

What our team did was use 2 PWMs attached to a 3-way switch mounted on the robot, and made 2 case structures, one inside the other for autonomous. We wired digital IOs into the case strucures, and that's how we get our autonomous selection.
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 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 03:46.

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