niSync_CalAdjustClk10PhaseVoltage

C Function Prototype

ViStatus niSync_CalAdjustClk10PhaseVoltage (ViSession vi, ViReal64 newVoltage, ViReal64* oldVoltage);

Purpose

Sets the Clk10 phase voltage value to be written to the specified device's non-volatile onboard memory using an external calibration reference.

The value you enter for newVoltage is written to the non-volatile onboard memory of the specified device and becomes the new calibration constant only if you set the action parameter of niSync_CloseExtCal to NISYNC_VAL_EXT_CAL_COMMIT.

Notes  
  • This operation will succeed only during a session created with niSync_InitExtCal.
  • Use the niSync_CalGetClk10PhaseVoltage function to return the Clk10 phase voltage value currently stored in the device's non-volatile onboard memory.
  • This function does not immediately change the Clk10 phase voltage. Use the NISYNC_ATTR_CLK10_PHASE_ADJUST attribute to immediately adjust the Clk10 phase voltage.

Parameters

Name Type Description
vi ViSession The session handle that you obtain from niSync_InitExtCal. The handle identifies the device to calibrate

Default Value: None

newVoltage ViReal64 Specifies the new Clk10 phase voltage value, in volts, to write to the non-volatile onboard memory of the instrument you are calibrating.

oldVoltage ViReal64 Returns the Clk10 phase voltage value, in volts, that was last written to the specified device's non-volatile onboard memory.

Return Values