 |
open interval? defines whether the waveform subset extracted is an open or closed interval. If TRUE (default), an open interval is selected. If FALSE, a closed interval. For example, assume an input waveform with t0=0, dt=1, and Y={0, 1, 2}. In time mode, with a start of 0 and duration of 2, an open interval will return {0, 1}, a closed interval will return {0, 1, 2}.
|
 |
Mode indicates if you want to retrieve the data value of the specified element or at a specified time.
0 | Index (default)Returns the data value of the specified element in the waveform data. | 1 | Relative TimeReturns the data value at a specified time relative to the first point in the waveform. |
|
 |
Waveform in is the waveform for which you want to retrieve a subset.
|
 |
Start is the data element or time value where you want to start acquiring a waveform subset.
|
 |
Duration is the amount of time to retrieve data or the number of elements of data you want to retrieve, depending on the Mode you select.
|
 |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
 |
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
|
 |
code is the error or warning code. The default is 0.
If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
|
 |
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
|
|
 |
Waveform out is the waveform subset.
|
 |
Actual Start is the actual data element when the subset was acquired.
|
 |
Actual Duration is the actual number of elements retrieved or the actual amount of time the data values were acquired.
|
 |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
 |
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
|
 |
code is the error or warning code.
If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
|
 |
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
|
|
For example, consider a waveform of 128 scans with a delta t of 1.00. If you wire 40.00 to Duration and 25.00 to Start, the Actual Duration and Actual Start are the same, 40.00 and 25.00, respectively. However, if the waveform has a delta t of 2.00, the Actual Duration and the Actual Start are 40.00 and 24.00, respectively.