Sort Site Results (U32 Waveform)

Orders site data read from multiple instruments to match the site list you specify and combines data from instruments mapped to the same site.

To use this node, read data from each instrument using the same site list parameter and combine the data in a three-dimensional array. Each instrument returns data using the niDigital Fetch Waveform (U32) node for the enabled sites on which the instrument is configured to capture waveforms. Disabled sites return an empty array.

Pass the data array and the same site list as parameters to this node. The node returns sorted waveforms in the same order as the captured waveforms.

Inputs/Outputs

datatype_icon

sessions in

Instrument sessions 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

Default value: No error

datatype_icon

site list

A comma-delimited list of strings of form siteN, where N is the site number. The sites you specify are enabled for pattern bursting. If you specify an empty string, the pattern is burst on all sites.

datatype_icon

waveforms

The waveform data read from the digital pattern instruments, combined into a three-dimensional array.

datatype_icon

site result type

The type of data specified in the results array.

datatype_icon

sorted waveforms

The data in the results array sorted by the order in the site list, along with the site number that corresponds to each value.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

datatype_icon

sessions out

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