MSO Read (VI)
- Updated2023-09-07
- 4 minute(s) read
MSO Read (VI)
Owning Palette: Mixed Signal OscilloscopeInstalled With: NI-VirtualBench application development support
Transfers data from the instrument as long as the acquisition state is Acquisition Complete. If the state is either Running or Triggered, this VI will wait until the state transitions to Acquisition Complete. If the state is Stopped, this VI returns an error.

![]() |
Instrument Handle In specifies the session created by the Initialize VI. |
||||||
![]() |
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. If an error occurs while this VI or function runs, the VI or function 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.
|
||||||
![]() |
Instrument Handle Out is a reference to the instrument. |
||||||
![]() |
Analog Waveforms indicates the analog waveforms acquired by the instrument. This VI generates an empty array of waveforms if no scope channels are enabled. Data returned from multiple analog channels is returned in the order of lowest channel number to highest channel number. For example, if you enable channels mso/2 and mso/1, data is returned in the order of mso/1, mso/2. If you configured MSO Configure Timing to sample in Peak Detect mode, this VI returns two waveforms per channel: a minimums and a maximums waveform. |
||||||
![]() |
Digital Waveform indicates the digital waveforms acquired by the instrument. This VI generates an empty waveform if no logic analyzer channels are enabled. Data returned from multiple digital channels is returned in the order of most significant channel to least significant channel. For example, if you enable channels mso/d4, mso/d0, mso/d7, and mso/d6, data is returned in the order of mso/d7, mso/d6, mso/d4, mso/d0. |
||||||
![]() |
Trigger Time Stamp indicates when the acquisition triggered. |
||||||
![]() |
Trigger Reason indicates how the acquisition was triggered.
|
||||||
![]() |
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, error out 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.
|












