get_scope_data#
- get_scope_data(daq: ziDAQServer, device_id: str, *, timeout: float = 1.0) tuple [source]#
Queries the scope for data once it is finished.
- Parameters:
daq (ziDAQServer) – Instance of a Zurich Instruments API session connected to a Data Server. The device with identifier device_id is assumed to already be connected to this instance.
device_id (str) – SHFQA device identifier, e.g. dev12004 or ‘shf-dev12004’.
timeout (float) – Maximum time to wait for the scope data in seconds.
- Returns:
- recorded_data (array): Contains an array per scope channel with
the recorded data.
- recorded_data_range (array): Full scale range of each scope
channel.
- scope_time (array): Relative acquisition time for each point in
recorded_data in seconds starting from 0.
- Return type:
Three-element tuple with