Oscilloscopes¶
This module provides support for controlling oscilloscopes with Python. Oscilloscopes can be imported by
>>> import hardware
>>> osc = hardware.function_generators.Agilent_DSO1024A('USB:...')
-
class
hardware.oscilloscopes.
Agilent_DSO1024A
(visa_search_term)[source]¶ Hardware wrapper for Agilent DSO1024A digital oscilloscopes.
Parameters: visa_search_term (str) – The address that is passed to visa.ResourceManager().open_resource()
-
acquire
(channel=1)[source]¶ Retrieves a time trace from a single acquisition.
Parameters: channel (int, optional) – The channel to be read Returns: tuple of arrays – The first array contains the times in nanoseconds, and the second contains voltages in volts.
-