Go to Post Profesional Gracism - n. the blessing said before Robotics competitions begin. - Cynette [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 Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 01-09-2011, 11:44
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to use eeprom in labview

It goes something like this, although this example is for a different purpose you should be handling the time in a similar fashion:

__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #2   Spotlight this post!  
Unread 01-09-2011, 14:19
windtakers windtakers is offline
Registered User
AKA: Blake Dansfield
FRC #3620 (Average Joes)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: michigan
Posts: 33
windtakers is an unknown quantity at this point
Re: How to use eeprom in labview

this is awesome, and by the way i use your team website for labview help all the time. can't believe i didn't see this one. I think I have the timed task all done now. when I extract the data in autonomous that was saved into the spreadsheet i know that i need to tell the motors how long to run on a certain speed, but i don't know how to do that. Also this is a picture of my updated periodic tasks.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	36
Size:	25.3 KB
ID:	10906  

Last edited by windtakers : 01-09-2011 at 17:32.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-09-2011, 13:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to use eeprom in labview

To play it back you can run a While loop inside the Autonomous vi
  • Set initial conditions, e.g., pseudo-joystick values = zero
  • Feed initial pseudo-joystick values into motor set speed
  • While forever loop (with an appropriate delay)
    • Read one playback line
    • In an inside loop (with an appropriate delay)
      • Keep checking until elapsed time >= recorded Robot Time (make sure the times are measured the same)
      • When the condition is true, pass the new pseudo-joystick values out, exit the inside loop
    • Feed pseudo-joystick values into motor set speed
    • Make allowances to set speed to zero after the last playback line is read as a safety measure (that'll also help handle partial/incomplete playback files)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-09-2011 at 16:29.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-09-2011, 19:29
windtakers windtakers is offline
Registered User
AKA: Blake Dansfield
FRC #3620 (Average Joes)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: michigan
Posts: 33
windtakers is an unknown quantity at this point
Re: How to use eeprom in labview

Here is a picture of my autonomous. Can you tell me if it's programed right.
Attached Thumbnails
Click image for larger version

Name:	Untitled2.png
Views:	68
Size:	22.8 KB
ID:	10907  
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:46.

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