ViStatus niSync_CalAdjustOscillatorVoltage (ViSession vi, ViReal64 newVoltage, ViReal64* oldVoltage);
Sets the oscillator voltage value to be written to the specified device's non-volatile onboard memory using an external calibration reference. The oscillator voltage controls the frequency of the specified device's oscillator.
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
|
Name | Type | Description |
---|---|---|
vi | ViSession | The session handle that you obtain from niSync_InitExtCal. The handle identifies the device to calibrate. |
newVoltage | ViReal64 | Specifies the value of the new oscillator voltage, in volts, to write to the device's non-volatile onboard memory. |
oldVoltage | ViReal64 | Returns the value of the oscillator voltage, in volts, last written to the device's non-volatile onboard memory. |