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.
Instrument session obtained from the niDigital Initialize with Options node.
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
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.
Default: No error
Handle that identifies the session in all subsequent NI-Digital node calls.
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.
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. |
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.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application