Go to Post The bleachers at a FIRST competition should be full of people blasting energy out of every pore of their bodies. - dlavery [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
  #1   Spotlight this post!  
Unread 03-03-2013, 23:32
chris.boyle's Avatar
chris.boyle chris.boyle is offline
Programming Mentor
FRC #0068 (Truck Town Thunder)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Truck Town Thunder (Brandon)
Posts: 36
chris.boyle is on a distinguished road
Detecting connection to FMS

Is it possible to determine if we are connected to the FMS or running locally? I am trying to help a team control their off-board compressor.

R80 - Compressed air on the ROBOT must be provided by one and only one compressor. Compressor specifications may not exceed nominal 12VDC, 1.05 cfm flow rate. Off-board compressors must be controlled and powered by the ROBOT.

My thought is that if we can determine if (at startup) we are connected to the FMS, then any code related to the compressor would not be run (Open & Control Loop), thus avoid generating and reference errors during a match. I have searched the WPI palettes and only find the alliance color and position.

They have implemented a manual approach to this problem for now, check for the existence of a file in begin.vi and use that to run the compressor code. This method requires a file to be copied to the cRIO, then reboot it, let it fill the air tanks, then delete it from the cRIO, reboot it again, before placing the robot on the field.

To many possibilities for mistakes and causing errors during a match.
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
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


All times are GMT -5. The time now is 12:10.

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