|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Timing with the Driver Station
Does anybody know the rate at which packets arrive at the cRIO from the driver station? Is it a constant?
|
|
#2
|
||||
|
||||
|
Re: Timing with the Driver Station
I can't find anything specifically, but I would say it is not constant. It's a TCP stream as far as I am aware.
You probably shouldn't depend on DS packet timing, but instead use a different timer which you can control. |
|
#3
|
|||
|
|||
|
Re: Timing with the Driver Station
Is there a way to calculate delta time in Labview?
|
|
#4
|
|||
|
|||
|
Re: Timing with the Driver Station
There may be a way, though I haven't tested it. Under Real-Time -> Real-Time Timing there is a tick count (presumably of the processor) that you read from, which you can also set to mSec or uSec, which would probaby get you the resolutino you need.
|
|
#5
|
||||
|
||||
|
Re: Timing with the Driver Station
Under Timers, use Tick Count. It's millisecond resolution so it should be enough. Then just save the value through whatever method you want and subtract from the current Tick Count whenever you want the delta.
|
|
#6
|
|||
|
|||
|
Re: Timing with the Driver Station
50Hz (it's in the headers if you look)
|
|
#7
|
|||
|
|||
|
Re: Timing with the Driver Station
Thanks for the info on delta time, I'll create a shift register.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with updating firmware on Driver Station | urg8rb8 | FRC Control System | 3 | 28-12-2008 02:53 |
| Securing the Driver Station? | Madison | FRC Control System | 16 | 16-12-2008 03:05 |
| Mounting the Driver Station...? | 1708xMr.Roboto | FRC Control System | 1 | 15-12-2008 12:34 |
| pic: The new driver station | Billfred | Extra Discussion | 28 | 23-04-2008 20:07 |
| pic: Why FIRST needs to make the driver station taller | Jay Trzaskos | Extra Discussion | 12 | 12-03-2007 08:57 |