Table Of Contents

Adjust Oscillator Voltage (G Dataflow)

Version:
Last Modified: August 28, 2017

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 in new voltage is written to the non-volatile onboard memory of the specified device if you set action of Close External Calibration to Commit. You must use this function in a session created with Initialize External Calibration.

spd-note-note
Note  
  • Use Get Oscillator Voltage to return the oscillator voltage value currently stored in the device's non-volatile onboard memory.
  • This function does not immediately change the oscillator voltage. Use the Oscillator Voltage property of niSync Properties to immediately adjust the oscillator voltage.
connector_pane_image
datatype_icon

instrument handle

The session handle that you obtain from Initialize External Calibration. The handle identifies the device to calibrate.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

new voltage

The new oscillator voltage, in volts, to write to the device's non-volatile onboard memory.

datatype_icon

instrument handle out

The session handle you obtained from Initialize External Calibration. The handle identifies the device you have calibrated.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.
datatype_icon

old voltage

The value of the oscillator voltage, in volts, last written to the device's non-volatile onboard memory.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics