The USB Timing Box has an internal buffer, storing up to 1000 passings. Every passing is assigned with a 32bit index number, starting with 0 from startup. The index of the first passing you would like to receive in this request must be supplied as parameter.
PASSINGGET can reply with up to 64 passings at a time, therefore after one response of 64 passings, you should immediately check again, with the new minimum index being 64 higher than the last request.
Parameters
|
[StartIndex] |
Passing index of the first passing in request |
|
[Count] |
The number of passings which will be returned in this request |
|
<passing(i)> |
The returned passing with passing index i |
|
[MinStartIndex] |
The lowest [StartIndex] available. |
Error codes
00 No Error
10 [StartIndex] too low - telling you that there longer exists a <passing(i)>
11 Box in wrong Mode
Call
PASSINGGET;[StartIndex:8]\n
Reply (Error Code 00 = no error)
The function replies the [StartIndex] value it was called with. This is so you can check that there was no communication problem leading to a wrong index.
The second reply is [Count] indicating how many passing records will follow.
PASSINGGET;[ErrorCode]\n [StartIndex:8];[Count:2]\n <passing([StartIndex])>\n <passing([StartIndex]+1)>\n ... <passing([StartIndex]+[Count]-1)>\n <passing([StartIndex]+[Count])>\n \n
Reply with Error Code 10
The function replies the [StartIndex] value it was called with. This is so you can check that there was no communication problem leading to a wrong index.
The second reply is [MinStartIndex] indicating the lowest [StartIndex] that is available in memory.
PASSINGGET;10\n [StartIndex:8];[MinStartIndex:8]\n \n
In case of error 10, you need to execute PASSINGGET;[MinStartIndex] again.
Reply with Error Code 11
The Box is running in a Mode which does not allow pulling passings from it.
PASSINGGET;11\n [StartIndex:8];00\n \n
Most likely this is a USB Timing Box in Repeat Mode. The User needs to switch mode.
Example
← PASSINGGET;0\n → PASSINGGET;00\n → 00000000;02\n → ZBAAA03;04c6;002b6efc;11;19;1d;15;0;1;1;00;0\n → ZBAAA03;04c7;00823aa8;1e;1a;1d;15;0;1;1;00;0\n → \n