Table Of Contents

Frequency Counter Measure Frequency (G Dataflow)

Version:
Last Modified: September 14, 2017

Measures the frequency or frequency counts on the specified channel(s) over the specified measurement time. All channels in channel list should have the same measurement time.

connector_pane_image
datatype_icon

session in

Instrument session obtained from the niDigital Initialize with Options node.

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

channel list

List of channel names or pin names. Do not pass a mix of channel names and pin names.

An empty string denotes all digital pattern instrument channels.

Multisite Considerations and Syntax

Pin names and pin groups apply to all enabled sites, unless the pin name explicitly specifies the site. You can specify a pin in a specific site using the form siteN/pinName, where N is the site number. This node ignores pins that are not mapped to the digital pattern instrument.

datatype_icon

session out

Handle that identifies the session in all subsequent NI-Digital node calls.

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

frequencies

The returned frequency counter measurement, in Hz.

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