Table Of Contents

Adjust Sample Clock Relative Delay (G Dataflow)

Last Modified: March 26, 2020

Applies offset, in seconds, to the sample clock relative to the reference clock when using the onboard clock.

Each time this node is called, the sample clock is offset from the reference clock by the specified amount of time.

Adjustment range: ±1 Sample Clock Period per call

Programming Patterns
Use this node when performing manual adjustment to correct for skew and jitter between oscilloscopes synchronized with NI-TClk.
  1. Apply time offset with this node to reduce skew and/or jitter.
  2. Use the NI-SCOPE Oscillator Phase DAC Value property to convert this time offset into a value that can apply the manual adjustment across sessions and improve synchronization repeatability.
For details on performing manual adjustment, refer to Improving NI-TClk Synchronization of Oscilloscopes with Manual Adjustment .
connector_pane_image
datatype_icon

session in

Handle that identifies the NI-SCOPE instrument session as previously allocated by Initialize With Options .

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

delay

The amount of time, in seconds, to delay the sample clock. This value is relative, so repeated calls to this node delay the sample clock by this amount every time.

Default: 0.00

datatype_icon

session out

Reference to the NI-SCOPE instrument session to pass to the next node in the program.

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.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

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

Hardware Support:

This node does not support the following hardware:
  • PXIe-5110
  • PXIe-5111
  • PXIe-5113
  • PXIe-5160
  • PXIe-5162
  • PXIe-5163
  • PXIe-5164
  • PXIe-5170
  • PXIe-5171
  • PXIe-5172
  • PXIe-5185
  • PXIe-5186


Recently Viewed Topics