pyrolab.drivers.scopes.rohdeschwarz.RTO#
- class RTO[source]#
Bases:
ScopeSimple network controller class for R&S RTO oscilloscopes.
This class is used to control the R&S RTO oscilloscope. These are not local devices, nor native PyroLab objects. Therefore, network device autodetection is not supported.
- Attributes:
timeoutNetwork timeout duration in milliseconds (errors out if no response received within timeout).
Methods
acquire([timeout, run])Asynchronous command that starts acquisition.
acquisition_settings(sample_rate, duration)Sets the scope acquisition settings.
act_filter(channel)Activates the lowpass filter for a channel.
Autoconnect to an instrument using internally stored parameters.
close()Releases resources, hardware or otherwise.
connect([address, hislip, timeout])Connects to and initializes the R&S RTO oscilloscope.
deact_filter(channel)Deactivates the lowpass filter on a given channel.
Network device detection not supported.
edge_trigger(channel, voltage[, mode])Add an edge trigger to the specified channel.
get_data(channel[, form])Retrieves waveform data from the specified channel
measure([measurement])Takes the result of an automatic measurement as setup using set_auto_measurement().
ping()Returns a bool (True) to indicate that the Daemon is alive and can be communicated with.
Return the version of PyroLab running the device.
query(message[, delay])A combination of
write()andread().screenshot(path)Takes a screenshot of the scope and saves it to the specified path.
set_auto_measurement([measurement, source, ...])Convenience function for setting default measurements.
set_behavior([instance_mode, instance_creator])Sets the Pyro5 behavior for the class (modified in place).
set_channel(channel[, state, coupling, ...])Configures a channel.
set_cutoff_freq(channel, cutoff_freq)Sets the cutoff frequency of one of the two filters: either the filter for channels 1 and 2 or the filter for channels 3 and 4.
set_timescale(time)Sets the horizontal scale--the time per division on the x-axis--for all channel and math waveforms.
Waits for the device until last action is complete.
write(message[, termination, encoding])Writes a message to the scope.
write_block(message)Writes a message to the scope, waits for it to complete, and checks for errors.