Read Static

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.

Inputs/Outputs

datatype_icon

session in

Instrument session obtained from the niDigital Initialize with Optionsnode.

datatype_icon

channel list

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

An empty string denotes all digital pattern instrument channels.

Specify channel names using the form PXI1Slot3/0,2-3 or PXI1Slot3/0,PXI1Slot3/2-3, where PXI1Slot3 is the instrument resource name and 0, 2, 3 are channel names.

To specify channels from multiple instruments, use the form PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3. The instruments must be in the same chassis.

Site 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

Default value: 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. If you are using a list of pin names to read data from multiple instruments, 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.

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