Returns the waveform the digitizer acquires for the specified channel.
This function initiates an acquisition that returns a scaled voltage waveform in a waveform data type that includes timing information.
Handle that identifies the NI-SCOPE instrument session as previously allocated by Initialize With Options .
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
The maximum number of samples to fetch for each waveform.
This function reads the actual record length and attempts to acquire all available samples. If the function fails to complete within the timeout period, the function returns an error. If the acquisition finishes with fewer points than requested, some devices return partial data if the acquisition finished, was aborted, or a timeout of 0 was used.
Fetching All Available Samples
Use -1 for this parameter if you want to fetch all available samples.
Default: -1
The time, in seconds, to wait for the data to be acquired.
Alternate Uses
Use 0 for this parameter to fetch whatever is currently available. Use -1 for this parameter to imply an infinite timeout.
Default: 5
The time basis for the timestamp on the waveform data type data.
Name | Value | Description |
---|---|---|
absolute | 1 | Uses an absolute time basis for the time stamp. |
relative | 0 | Uses a relative time basis for the time stamp. |
Reference to the NI-SCOPE instrument session to pass to the next node in the program.
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.
Returns data for wiring to a graph, including the timing information.
The timing and scaling information about the waveform.
The timestamp, in seconds, of the first fetched sample. This timestamp is comparable between records and acquisitions; devices that do not support this parameter use 0 for this output.
The time, in seconds, from the trigger to the first sample in the acquired waveform.
The time, in seconds, between two samples in the acquired waveform.
The offset factor of the given channel. Use for scaling binary data with the following formula: voltage = binary data x gain factor + offset
The gain factor of the given channel. Use for scaling binary data with the following formula: voltage = binary data × gain factor + offset.
A reserved value. Do not use.
A reserved value. Do not use.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application