Sort Site Results (U32 Waveform)
- Updated2023-02-17
- 3 minute(s) read
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

sessions in
Instrument sessions obtained from the niDigital Initialize with Options node.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

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.

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

site result type
The type of data specified in the results array.

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.

error out
Error information.
The node produces this output according to standard error behavior.

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