Task ID - assigned by OcaTaskManager
ID of program this task was given or null if it's idle.
ID of group the task is in, or zero if it isn't in a group
OcaTimeMode
TimeMode
= Relative
Absolute or Relative time.
OcaONo TimeSourceONo
ONo of relevant OcaTimeSource object or zero to use device time (see OcaDeviceTimeManager).
OcaTimePTP
StartTime
Time at which to start task, or zero if task will be manually started.
If TimeMode=Relative, the actual event start time equals the value of StartTime plus the absolute time that StartTime was most recently set.
Datatype shall depend on value of TimeUnits:
- If TimeUnits is seconds, datatype shall be OcaTimePTP;
- If TimeUnits is samples, datatype shall be OcaUint64.
If TimeMode=Absolute, the actual event start time equals the value of StartTime
OcaTimePTP
Duration
Duration of task execution, or zero to run until complete or explicitly stopped.
OcaBlob ApplicationSpecificParameters
Arbitrary application-specific parameters for the Task and its Program.
OCP.1 Encoding
Field | Basic type | Byte Length |
ID.Value | OcaUint32 | 4 |
Label.Len | OcaUint16 | 2 |
Label.Value | string | variable |
ProgramID.Library.ONo | OcaUint32 | 4 |
ProgramID.ID.Value | OcaUint32 | 4 |
GroupID.Value | OcaUint16 | 2 |
TimeMode | OcaTimeMode | variable |
TimeSourceONo.ONo | OcaUint32 | 4 |
StartTime | OcaTimePTP | variable |
Duration | OcaTimePTP | variable |
ApplicationSpecificParameters.DataSize | OcaUint16 | 2 |
ApplicationSpecificParameters.Data | OcaUint8 | 1 * Count |