Go to Post There's no problem another CIM motor wouldn't fix! - Tom Bottiglieri [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 03-07-2016, 08:39 AM
3072Cap 3072Cap is offline
Registered User
FRC #3072
 
Join Date: Feb 2016
Location: Wytheville, Va
Posts: 22
3072Cap is an unknown quantity at this point
Java to LabView

Our team is trying to use the Play/Record Macro setup by Teams 2220 and 4009, which is a great help, and thank you for releasing.

Our problem is, our team uses LabView. I'm sure there's a way to either "port" java's code into LabView, or maybe even call for the code in LabView, but I'm not sure how to get it to work. Any help would be appreciated.

Thanks in advance,
Team 3072
  #2   Spotlight this post!  
Unread 03-09-2016, 08:50 AM
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: Java to LabView

I haven't looked at the original code, but it sounds like it may be easiest to load the .csv file as an array and loop through the entries setting the motors at the appropriate times. I'd think that this would make sense in a periodic task loop.

I'll be happy to help with it if needed.

Greg McKaskle
  #3   Spotlight this post!  
Unread 03-09-2016, 12:48 PM
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 505
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Java to LabView

I have pushed the Mavericks 2252 Auto Recording to Github under our team, about a year ago. It was going to be an off season project to understand it, and take a look at it's features.

We never made it....

The code is available here...
https://github.com/TORC2137/Maverick...-AutoRecording

I am sure it was talked about here on CD, probably better to search here for 2252, and see if there is updates for this year, as the code that was pushed was for last year.

(although I would think it is much the same for the auto-record and playback)
__________________
The sooner we get behind schedule, the more time we have to catch up.

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 08:45 PM.

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