Go to Post Sorry, during my fluid mechanics lectures on drag I must have been designing a gearbox in my mind. FRC season will do that. - sanddrag [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 29-03-2016, 12:43
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Labview autonomous programming via excel/csv file examples

Dear CD,

I am presently using 4 difference autonomous programs that could be easily made into one program if I was able to use some kind of input file that would change motor power levels and pneumatic solenoid on/off enabling as a function of time. I think some kind of excel/csv file with 0.1 second intervals of time as rows and columns containing the motor 1-6 values and 2 pneumatics solenoids as on/off are what I need. I am sure that this has been done by others and would appreciate any links to such material.

Best regards,
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377
Reply With Quote
  #2   Spotlight this post!  
Unread 29-03-2016, 14:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview autonomous programming via excel/csv file examples

The default auto has some commented code that executes across an array of motor values, times to delay, etc. The file I/O palette contains many options for reading the file. The second icon is a bit confusing because of how general it is, but it defaults to return either a 1D or 2D array of doubles from a tab delimited file.

Then next step is to get the file on the roboRIO.

A variation of this is to load the file on the DS laptop using a custom dashboard, and push the values to the robot using some network table variables such as arrays of doubles.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 29-03-2016, 15:32
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Re: Labview autonomous programming via excel/csv file examples

Greg,

Thanks for the information. I did some searching and found a paper by Chris Hibner that appears to be the direction I want to move in for the short term.

I will let you know how that goes as team 3548 gets ready to go to the Michigan State Champtionship in Grand Rapids, MI this year!

Best regards!
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377
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 20:51.

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