NI-HSDIO LabVIEW VIs

Table of Contents

niHSDIO HWC Fetch Sample Errors (U32) VI

  • Updated2023-02-21
  • 4 minute(s) read
Installed With: NI-HSDIO

Returns the sample error information from a hardware comparison operation.

Related Topics

niHSDIO HWC Fetch Sample Errors (U32)

civrn.gif

instrument handle identifies your instrument session. instrument handle is obtained from the niHSDIO Init Acquisition Session VI, the niHSDIO Init Generation Session VI, or the niHSDIO Init Ext Cal VI.

ci32.gif

sample errors to read specifies the number of sample errors to read.

ci32.gif

max time milliseconds specifies, in milliseconds, the time allotted for the VI to complete before NI-HSDIO returns a timeout error.

If you set the value to -1, the VI never times out.

If you set this parameter to 0, the VI 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.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

iivrn.gif

instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.

ii32.gif

number of sample errors read returns the total number of sample errors read from device memory.

i1ddbl.gif

sample numbers returns the array of sample indexes in which an error occurred.

i1du32.gif

error bits returns an array containing the channels, or bits, in which an error occured for each sample with an error. 1 indicates an error. 0 indicates no error.

i1di32.gif

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

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

Log in to get a better experience