Go to Post I've come to the conclusion that the only way Pat's awesomeness can be explained is.... Pat Fairbank is a cookie. - Jonathan Norris [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2012, 22:15
Programs-R-us Programs-R-us is offline
Registered User
FRC #3313
 
Join Date: Jan 2012
Location: Alexandria, Minnesota.
Posts: 14
Programs-R-us is an unknown quantity at this point
Input/Output programming for Labview

I'm trying to find something in labview to read data from a numpad, because we want to use a code to override the automation that were going to be running? What labview function, (If there is one), Would allow us to do that?
  #2   Spotlight this post!  
Unread 09-01-2012, 23:04
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,113
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: Input/Output programming for Labview

What do you mean by "numpad"? Are you trying to read something connected to the robot? How is it connected?
  #3   Spotlight this post!  
Unread 10-01-2012, 00:39
mesamb1's Avatar
mesamb1 mesamb1 is offline
Registered User
AKA: Sam Bacon
FRC #1466 (Webb Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Knoxville
Posts: 93
mesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nice
Re: Input/Output programming for Labview

What is sounds like is that you want to make a case structure in labview. This would be able to switch between multiple groups of code.

If you want to stop all of the automation an your robot there is an extension for the driver station called a stop button. It will stop all automation fast

Last edited by mesamb1 : 10-01-2012 at 03:19.
  #4   Spotlight this post!  
Unread 10-01-2012, 02:37
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Input/Output programming for Labview

If the "numpad" you are talking about is part of your driver station laptop keyboard, then you need to make a custom dashboard that reads the keyboard input and sends the data to the robot using UDP or TCP. One of these days there may even be a NetworkTables implementation for LabVIEW that would make this even easier.
  #5   Spotlight this post!  
Unread 10-01-2012, 09:15
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Input/Output programming for Labview

You can also use the Driverstation Virtual Digital Inputs. From our testing these are read continually during the Teleop Mode, although I'm pretty sure (at least a few years ago) this wasn't true. In the Default Projec there is already code in the Autonomous.vi for reading this data, you can copy that into your Teleop.vi to use it there.
__________________
Closed Thread


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 23:23.

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