IviScope Read Min Max Waveform
IviScopeMinMaxWaveform Capability Group [MmW]
This VI initiates an acquisition on all channels that you enable with the IviScope Configure Channel VI. If the channel you specify in the Channel Name parameter is not enabled for the acquisition, this VI returns the IVISCOPE_ERROR_CHANNEL_NOT_ENABLED error. It then waits for the acquisition to complete and returns the min/max waveforms for the channel you specify. If the oscilloscope did not complete the acquisition within the time period you specify with the Maximum Time parameter, the VI returns the IVISCOPE_ERROR_MAX_TIME_EXCEEDED error.
You call the IviScope Fetch Min Max Waveform [MmW] VI to obtain the waveforms for each of the remaining enabled channels without initiating another acquisition.
Notes
|
|
instrument handle The instrument handle that you obtain from the IviScope Initialize or the IviScope Initialize With Options VI. | |
channel name Pass the virtual channel name that you assign to the instrument in MAX from which you want to read the minimum and maximum waveforms.
Virtual channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names. Default Value: "CHANNEL1" |
|
waveform size Pass the number of elements in the Min Waveform Array and Max Waveform Array parameters. | |
maximum time (ms) Pass the maximum length of time in which to allow the read waveform operation to complete.
If the operation does not complete within this time interval, the VI returns the IVISCOPE_ERROR_MAX_TIME_EXCEEDED error code. When this occurs, you can call IviScope Abort to cancel the read waveform operation and return the oscilloscope to the Idle state. Units: milliseconds Defined Values: IVISCOPE_VAL_MAX_TIME_INFINITE IVISCOPE_VAL_MAX_TIME_IMMEDIATE Default Value: 5000 (ms) |
|
Note The Maximum Time parameter applies only to this VI. It has no effect on other timeout parameters or properties. | |
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
instrument handle out The instrument handle that you obtain from the IviScope Initialize or the IviScope Initialize With Options VI. | |
min waveform array Returns the minimum waveform that the oscilloscope acquires.
Units: volts |
|
Notes
|
max waveform array Returns the maximum waveform that the oscilloscope acquires.
Units: volts |
Notes
|
actual points Indicates the number of points the VI places in the Min Waveform Array and Max Waveform Array parameters. | |
initial x Indicates the time of the first point in the Min Waveform Array and Max Waveform Array. The time is relative to the trigger event.
Units: seconds For example, if the oscilloscope acquires the first point in the waveforms 1 second before the trigger, this parameter returns the value –1.0. If the acquisition of the first point occurs at the same time as the trigger, this parameter returns the value 0.0. |
|
x increment Indicates the length of time between points in the Min and Max Waveform Arrays.
Units: seconds |
|
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |