Go to Post If the GDC doesn't want better teams to strap components on to other robots, they should design a game that doesn't require better teams to strap components on to other robots to win. - Tom Bottiglieri [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 17-11-2013, 14:05
markgryzwa markgryzwa is offline
Registered User
FRC #3206 (Royal-T-Wrecks)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: MN
Posts: 30
markgryzwa is on a distinguished road
Executing FRC Example lvproj files

I would like to execute the examples in the Support -> FRC Examples library.

Here's my set up. Laptop connected to CRIO. IP set to 10.te.am.0x

I open relay.lvproj. Update the IP to our te.am address.

Modify the vi for relay.vi to meet our CRIO and digital sidecar layout.

Click on the -> run arrow from the labview front panel.

See the software compile and deploy to the CRIO.

The front panel returns with what looks like run mode. Click on the controls on the front panel to change relay settings.

Nothing.

Did I miss a step? Am I wrong to think these will run without the driver's station running?

Lost, please help.

Mark G
Reply With Quote
  #2   Spotlight this post!  
Unread 17-11-2013, 14:11
Aaron.Graeve Aaron.Graeve is offline
Registered User
FRC #1477 (Texas Torque)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: College Station, Texas
Posts: 103
Aaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to all
Re: Executing FRC Example lvproj files

In any I/O code testing, you will need the driver station open. If it is not open, the robot defaults to disabled and outputs are stopped. There are a few corner cases where you do not need the driver station in order to test code, but those are mainly communicating with the dashboard.

In short, yes, you need the DS to be running and enabled to see changes in relays and other outputs. If it is still not working, please reply so the CD community can help.
__________________

2016:
Alamo, Bayou, and Lone Star Regional FTAA
2015:
Dallas, Alamo, Bayou, and Lone Star Regional FTAA
2014:
Alamo, Dallas, and Lone Star Regional FTAA
Alamo Regional Robot Inspector
2013:
Einstein Champion and 2013 World Champion (Thanks 1241 & 610), Galileo Division Champion, Razorback Regional Winner, Alamo Regional Semifinalist, Bayou Regional Semifinalist, Lone Star Regional Quarterfinialist
2012:
Curie Division Semifinalist, Lone Star Regional Finalist, Bayou Regional Winner, Alamo Regional Winner
Reply With Quote
  #3   Spotlight this post!  
Unread 23-11-2013, 12:53
markgryzwa markgryzwa is offline
Registered User
FRC #3206 (Royal-T-Wrecks)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: MN
Posts: 30
markgryzwa is on a distinguished road
Re: Executing FRC Example lvproj files

Working exactly as you described. Thanks to CD community.
Reply With Quote
  #4   Spotlight this post!  
Unread 17-11-2013, 14:11
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,563
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: Executing FRC Example lvproj files

Quote:
Originally Posted by markgryzwa View Post
Am I wrong to think these will run without the driver's station running?
The examples have the same limitations as the regular robot code. You need to have the driver station running and enabled to be able to control hardware (like a relay).
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


All times are GMT -5. The time now is 09:48.

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