pipx40_readCalibrationDate

ViStatus pipx40_readCalibrationDate (ViSession instrumentHandle, ViUInt32 subunitNumber, ViUInt32 store, ViPUInt32 year, ViPUInt32 day, ViPUInt32 interval);

Purpose

Read calibration date information from EEPROM.

Parameters

Input
Name Type Description
instrumentHandle ViSession

Instrument handle obtained by the pipx40_init call used to open the card.

subunitNumber ViUInt32

The number of the sub-unit to access.
Valid Values:  1 thru the number of output sub-units available
on the card

store ViUInt32

Value indicating which store to access (user = 0, factory = 1).

Output
Name Type Description
year ViUInt32 (passed by reference)

Variable to receive year of calibration.

day ViUInt32 (passed by reference)

Variable to receive day in year of calibration.

interval ViUInt32 (passed by reference)

Variable to receive calibration interval (in days).

Return Value

Name Type Description
status ViStatus

A numeric code indicating the success or failure of the operation.
VI_SUCCESS = Successful operation.
Negative values are error codes and positive values are warnings.
To get a description of an error, pass the error code to pipx40_error_message.

References

Calibration
Pickering Interfaces PXI VISA
Alphabetical Function Index
Hierarchical Function Index