Table Of Contents

Read Static (G Dataflow)

Version:
Last Modified: September 14, 2017

Reads the current state of comparators for pins you specify in the channel list parameter.

If there are uncommitted changes to levels or the termination mode, this node commits the changes to the pins.

connector_pane_image
datatype_icon

session in

Instrument session obtained from the niDigital Initialize with Options node.

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

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

session out

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

datatype_icon

data

The returned array of pin states read from the channels in the channel list.

Data is returned in the order you specify in the channel list. If a site is disabled, the node does not return data for that site. Use the niDigital Sort Pin Results By Site (Pin state) node to order and combine the data to match the channel list. You can also use the niDigital Get Results Pin Map Information node to obtain a sorted list of returned sites and channels.

Name Value Description
L The comparators read a logic low pin state.
H The comparators read a logic high pin state.
M The comparators read a midband pin state.
V The comparators read a value that is above VOH and below VOL, which can occur when you set VOL higher than VOH.
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


Recently Viewed Topics