fluidlab.instruments.scope.agilent_dsox2014a¶
agilent_dsox2014a¶
- class fluidlab.instruments.scope.agilent_dsox2014a.AgilentDSOX2014a(interface=None)[source]¶
Driver for the oscilloscope Agilent DSOX2014a.
- get_curve(channel=1, nb_points=65535, acquire=True, format_output='byte')[source]¶
Acquire and return two Numpy arrays (time and data).
- Parameters:
- channel: int or Iterable of ints
The channels to get data from
- nb_pointsint
The number of points that have to be returned (max is 65535)
- acquire: bool
if True, starts a single acquisition if False, get data without restarting digitization
- format_outputstring
The format of the data that is sent from the scope. Has to be in [‘ascii’, ‘byte’].
- autoscale()¶
Autoscale the oscilloscope.
- channel1_coupling The type of input coupling for the channel. = <StringValue object>¶
- channel1_coupling = <StringValue object>
- AgilentDSOX2014a.channel1_couplingIt can be set to "AC" or "DC".
- channel1_display A boolean setting the display of the channel. = <BoolValue object>¶
- channel1_probe_attenuation The probe attenuation ratio. = <FloatValue object>¶
- channel1_range The vertical full-scale range value (in volt). = <FloatValue object>¶
- channel1_scale The number of units per division of the channel. = <FloatValue object>¶
- channel2_coupling The type of input coupling for the channel. = <StringValue object>¶
- channel2_coupling = <StringValue object>
- AgilentDSOX2014a.channel2_couplingIt can be set to "AC" or "DC".
- channel2_display A boolean setting the display of the channel. = <BoolValue object>¶
- channel2_probe_attenuation The probe attenuation ratio. = <FloatValue object>¶
- channel2_range The vertical full-scale range value (in volt). = <FloatValue object>¶
- channel2_scale The number of units per division of the channel. = <FloatValue object>¶
- nb_points The number of points returned. = <IntValue object>¶
- timebase_range The time for 10 division in seconds. = <FloatValue object>¶
- trigger_level The trigger level voltage for the active trigger source. = <FloatValue object>¶
This class was tested also on Agilent DSO-X 3014A.
Classes
|
Driver for the oscilloscope Agilent DSOX2014a. |