Skip to content

C API ZIPIDVectorHeader Struct

Name Type Description
firstSampleTimestamp ZITimeStamp Timestamp of the first sample point in the PID vector.
timestampDiff uint64_t Timestamp difference between PID samples within a vector. It is a constant across all samples in the vector. To convert this value to a duration, please see the LabOne user manual or the API examples.
burstLength uint32_t When triggered acquisition is enabled, it displays the total number of PID samples acquired with one trigger event (a single burst possibly containing multiple vectors); corresponding to the device node '/DEV.../PIDS/n/STREAM/BURSTLEN'. When the acquisition is in continuous mode, it represents the number of samples in the vector.
burstOffset uint32_t Index of the first sample in a vector within a single burst; only relevant when triggered acquisition is enabled.
triggerIndex uint32_t Index of the current trigger event indicating the number of events occurred so far; only relevant when triggered acquisition is enabled.
triggerTimestamp uint64_t Timestamp of the current trigger event; only relevant when triggered acquisition is enabled.
centerPoint double Center Point of PID output; corresponding to the device node '/DEV…/PIDS/n/CENTER'.
inputChannel uint8_t Index of the PID input channel; corresponding to the device node '/DEV…/PIDS/n/INPUTCHANNEL'.
input uint8_t Input type of the PID controller; corresponding to the device node '/DEV…/PIDS/n/INPUT'.
outputChannel uint8_t Index of the PID output channel; corresponding to the device node '/DEV…/PIDS/n/OUTPUTCHANNEL'.
output uint8_t Output type of the PID controller; corresponding to the device node '/DEV…/PIDS/n/OUTPUT'.
triggerSource uint8_t Signal source to trigger the PID’s data acquisition; corresponding to the device node '/DEV..../PIDS/n/STREAM/TRIGGER/SOURCE'.
setPoint double Setpoint of the PID input signal; corresponding to the device node '/DEV…/PIDS/n/SETPOINT'.