|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: How to use eeprom in labview
Inside the loop, the code compares the millisecond tick time to 1500. The millisecond tick is relative to when the robot booted, or when the app started, and keeps going up until it wraps. More than likely, the code should take the time when the button latched, subtract from the current time, and compare to 1500.
Also, personally, I'd take the time, X, and Y, and write them to a single file rather than having the data spread amongst two with duplicated times. This also extends if you add a manipulator or another degree of freedom to the robot or even sensor values that record the response of the robot. Greg McKaskle |
|
#2
|
|||
|
|||
|
Re: How to use eeprom in labview
The Thing I'm having trouble with is the tick counter. Because i only want the joysticks to be recorded for 15sec, but because the tick counter starts at the robot boot up and not when the case is true the tick counter is already over 15sec even before i get to actually wanting to record the joysticks.
|
|
#3
|
|||||
|
|||||
|
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:
![]() |
|
#4
|
|||
|
|||
|
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.
Last edited by windtakers : 01-09-2011 at 17:32. |
|
#5
|
|||||
|
|||||
|
Re: How to use eeprom in labview
To play it back you can run a While loop inside the Autonomous vi
Last edited by Mark McLeod : 02-09-2011 at 16:29. |
|
#6
|
|||
|
|||
|
Re: How to use eeprom in labview
Here is a picture of my autonomous. Can you tell me if it's programed right.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|