HWC Fetch Sample Errors (U32)
- Updated2023-02-17
- 3 minute(s) read
HWC Fetch Sample Errors (U32)
Returns the sample error information from a hardware comparison operation.
Inputs/Outputs

session in
Instrument session obtained from the Initialize Acquisition Sessionnode, the Initialize Generation Sessionnode, or the Initialize External Calibrationnode.

sample errors to read
The number of sample errors to read.
Default value: 1

maximum time (ms)
The time, in milliseconds, allotted for the node to complete before NI-HSDIO returns a timeout error.
If you set the value to -1, the node never times out. If you set this parameter to 0, the node returns immediately with up to the number of samples specified in samples to read.
If samples to read is greater than the number of samples in the device memory and all the available samples are acquired before a timeout, NI-HSDIO returns the available samples.
Default value: 10000

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

session out
Handle that identifies the session in all subsequent node calls.
The session out parameter is obtained from the Initialize Acquisition Sessionnode or the Initialize Generation Sessionnode.

number of sample errors read
The returned total number of sample errors read from device memory.

sample numbers
The returned array of sample indexes in which an error occurred.

error bits
The returned array containing the channels, or bits, in which an error occurred for each sample with an error.
0 | No error occurred. |
1 | An error occurred. |

repeat count
The number of times the error was repeated. This parameter only yields data when the Filter Repeated Sample Errors property is set to True.

error out
Error information.
The node produces this output according to standard error behavior.