Table Of Contents

IviCounter Fetch (G Dataflow)

Last Modified: October 24, 2017

Obtains a measurement based on the preset configuration and returns the measurement value.

The measurement is from a measurement that was previously initiated.

Use IviCounter Initiate to start the previously configured measurement. Use IviCounter Status to determine when the measurement is complete.

You can call IviCounter Read instead of IviCounter Initiate. IviCounter Read starts a measurement. It then waits for the measurement to complete, obtains the measured value, and returns the measured value. You call this node separately for any other measurements that you want to obtain on a specific channel.

spd-note-note
Note  

This node does not check the instrument status.

spd-note-note
Note  

Typically, you call this node only in a sequence of calls to other low-level driver nodes. The sequence performs one operation. You use the low-level nodes to optimize one or more aspects of interaction with the instrument. If you want to check the instrument status, call IviCounter Error-Query at the conclusion of the sequence.

connector_pane_image
datatype_icon

instrument handle

The instrument handle that you obtain from IviACPwr Initialize or IviACPwr Initialize With Options. The handle identifies a particular instrument session.

Default: None

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

instrument handle out

The instrument handle that you obtain from IviACPwr Initialize or IviACPwr Initialize With Options.

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

measurement

Returns the measured value.

The units depend on the Measurement Function you select as shown below.

Measurement Function Units
Rise Time seconds
Fall Time seconds
Frequency hertz
Frequency Ratio units
PRF hertz
Period seconds
Phase degrees
Negative seconds
Width Positive seconds
Cycle Negative percent
Duty Cycle Positive percent
Time Interval seconds
Totalize occurrences

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