National Instruments NI PXI-5422 用户手册
NI PXI-5422 Calibration Procedure
60
ni.com
33. Call
niFgen_SetAttributeViBoolean
to disable the analog
output (niFgen property node: Basic Operation»Output Enabled)
using the following parameters:
using the following parameters:
•
vi: The session handle returned from
niFgen_InitExtCal
•
channelName:
"0"
•
attributeID:
NIFGEN_ATTR_OUTPUT_ENABLED
•
value:
VI_FALSE
34. Call
niFgen_SetAttributeViInt32
to set the calibration ADC
input (niFgen property node: Calibration»Cal ADC Input) using
the following parameters:
the following parameters:
•
vi: The session handle returned from
niFgen_InitExtCal
•
channelName:
""
(empty string)
•
attributeID:
NIFGEN_ATTR_CAL_ADC_INPUT
•
value:
NIFGEN_VAL_GROUND
35. Call
niFgen_Commit
(niFgen Commit VI) to commit the attribute
values to the device using the following parameter:
•
vi: The session handle returned from
niFgen_InitExtCal
Closing the External Adjustment Session
When you have completed all the adjustment stages, you must close the
external adjustment session to store the new calibration constants in the
onboard EEPROM.
external adjustment session to store the new calibration constants in the
onboard EEPROM.
Call
niFgen_CloseExtCal
(niFgen Close Ext Cal VI) using the
following parameters:
•
vi: The session handle returned from
niFgen_InitExtCal
•
action:
–
If the external adjustment procedure completed without any
errors, use
errors, use
NIFGEN_VAL_EXT_CAL_COMMIT
. This function
stores the new calibration constants, updated calibration dates,
updated calibration temperatures in the onboard EEPROM.
updated calibration temperatures in the onboard EEPROM.
–
If any errors occurred during the external adjustment
procedure, or if you want to abort the operation, use
procedure, or if you want to abort the operation, use
NIFGEN_VAL_EXT_CAL_ABORT
. This function discards
the new calibration constants and does not change any
of the calibration data stored in the onboard EEPROM.
of the calibration data stored in the onboard EEPROM.