Waveform Duration
- Updated2023-02-17
- 2 minute(s) read
Waveform Duration
Computes the duration of the specified waveform using the following equation: duration = (number of samples-1) x dx.
Inputs/Outputs

open interval
Interval over which the specified waveform extends.
For example, assume a waveform contains 3 data elements at
t = {0,
dt, 2dt}. An open interval defines the waveform as extending over the time interval 0 less than or equal to
t < 2dt. A closed interval defines the waveform as extending over the time interval 0 less than or equal to
t < 3dt.
| True | The specified waveform extends over an open interval. |
| False | The specified waveform extends over a closed interval. |
Default value: True

waveform
Waveform for which you want the duration.
This input accepts a waveform or a digital waveform.

duration
Duration of the waveform.