Fetch Capture Waveform (U32)
- Updated2023-02-17
- 3 minute(s) read
Fetch Capture Waveform (U32)
Fetches a defined number of samples for a specific list of sites.
This node only returns data from sites that are enabled when fetch is called.
Inputs/Outputs

waveform name
Waveform name you create with the niDigital Create Capture Waveform node.
Use the waveform name parameter with capture_start opcode in your pattern.

session in
Instrument session obtained from the niDigital Initialize with Optionsnode.

site list
Site numbers listed as a comma-delimited list of strings of form siteN, where N is the site number.
If you enter an empty string, the node fetches data from all sites.

timeout
Maximum time (in seconds) allowed for this node to complete.
If this node does not complete within this time interval, this node returns an error.
Default value: 10 s

samples to read
Number of samples to fetch.

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

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

data
A 2D array of digital states read from the sites in the site list .
Each row in the 2D array corresponds to a site in the list. If a site is disabled, not enabled for burst, or the current instrument does not include any capture pins, the node does not return data for that site.
Use the niDigital Sort Site Results (U32 Waveform) node to order and combine the data to match the site list . You can also use the niDigital Get Site Results Site Numbers node to determine the order of the sites returned from this node call so that you can match the pass array with site numbers.

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