Configure Powerline Frequency (G Dataflow)

Version:

Specifies the powerline frequency.

NI-DMM sets the Powerline Frequency property to this value. The DMM uses this value to select a timebase for setting the Aperture Time property in powerline cycles (PLCs).

After configuring powerline frequency, set the Aperture Time Units property to PLCs. When setting the Aperture Time property, select the number of PLCs for the powerline frequency. For example, if powerline frequency = 50 Hz (20ms) and aperture time in PLCs = 5, then aperture time in seconds = 20 ms ×5 PLCs = 100 ms.

Note

When using a resolution of 6.5 digits, 50 Hz and 60 Hz noise will be rejected automatically. This is due to the selection of default aperture times, which appropriately filter out noise.

session in

Instrument identifier from previous NI-DMM nodes.

Default: None

powerline frequency

Powerline frequency to be set.

Note

You should set this control to the frequency of the AC power line. For 400 Hz power line, use the 50 Hz setting.

Name Description
50 HERTZ 50 Hz
60 HERTZ 60 Hz

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

session out

Instrument identifier for subsequent NI-DMM nodes.

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