niScope Cal End

NI-SCOPE LabVIEW

niScope Cal End

Closes an external calibration session. If action is set to Abort Calibration, the session is closed and the new calibration constants are lost. Some devices may write to the EEPROM during calibration, in which case the Abort Calibration action restores the EEPROM to its original state. It is, therefore, very important to call this VI each time you call niScope Cal Start, even if an error occurs during calibration.

If action is set to Store Calibration, the new calibration constants are stored in the EEPROM. For most digitizers, the current system date and the incremented calibration count are also stored; for SMC-based devices, the current system date and onboard temperature are stored.

instrument handle identifies a particular instrument session.
action either stores the calibration constants or aborts the calibration and discards any calibration results.

Defined Values

Store Calibration

Abort Calibration

error in describes error conditions that occur before this VI runs. The default input of this cluster is no error. If an error already occurred, this VI returns the value of error in in error out. The VI runs normally only if no incoming error exists. Otherwise, the VI passes the error in value to error out. The error in cluster contains the following parameters:
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.
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.
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.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
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.
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.