Module GPIBWrap :: Class HP_3325A
[hide private]
[frames] | no frames]

Class HP_3325A

source code

object --+    
         |    
  GPIBInst --+
             |
            HP_3325A

HP 3325A Synthesiser/Function Generator Object.

Instance Methods [hide private]
 
__init__(self, a, g)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
check_open(self)
Check the device is open.
source code
 
check_error(self)
Check the last HP_3325A specific command executed OK.
source code
 
set_function(self, sw)
Set the output waveform to sw.
source code
 
set_frequency(self, freq, sunits)
Set the output frequency to freq (in sunits).
source code
 
set_amplitude(self, amp, sunits)
Set the output amplitude to amp (in sunits).
source code
 
set_dc_offset(self, dc, sunits)
Set the output DC offset to dc (in sunits).
source code
 
set_phase(self, degrees)
Set the phase offset to degrees degrees.
source code
 
set_sweep_start_frequency(self, freq, sunits)
Set the frequency at the start of a sweep (in sunits).
source code
 
set_sweep_end_frequency(self, freq, sunits)
Set the frequency at the end of a sweep (in sunits).
source code
 
set_sweep_marker_frequency(self, freq, sunits)
Set the frequency at which to output the marker signal during a sweep (in sunits).
source code
 
set_sweep_mode(self, ssweep_mode)
Set the sweep mode to 'lin' or 'log'.
source code
 
set_sweep_time(self, secs)
Set the time over which to do a sweep (in seconds).
source code
 
start_sweep_single(self, waitfin)
Do a single sweep.
source code
 
start_sweep_continuous(self)
Start sweeping continuously.
source code
 
use_amplitude_modulation(self, yes)
Turn amplitude modulation on (1) or off (0).
source code
 
use_phase_modulation(self, yes)
Turn phase modulation on (1) or off (0).
source code

Inherited from GPIBInst: reset_bus, set_display_status, set_dump_gpib, set_obj, set_print_error, set_print_gpib

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, a, g)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

check_open(self)

source code 

Check the device is open. Return True if it is.

check_error(self)

source code 

Check the last HP_3325A specific command executed OK. Return True if so.

set_function(self, sw)

source code 

Set the output waveform to sw. sw may be: 'dc', 'sine', 'square', 'triangle', 'ramp_up', 'ramp_down'

set_frequency(self, freq, sunits)

source code 

Set the output frequency to freq (in sunits). sunits may be: 'Hz', 'kHz', 'MHz'

set_amplitude(self, amp, sunits)

source code 

Set the output amplitude to amp (in sunits). sunits may be: 'v', 'mv', 'v_pp', 'mv_pp', 'v_rms', 'mv_rms', 'dbm'

set_dc_offset(self, dc, sunits)

source code 

Set the output DC offset to dc (in sunits). sunits may be: 'v', 'mv'

set_sweep_start_frequency(self, freq, sunits)

source code 

Set the frequency at the start of a sweep (in sunits). sunits may be: 'Hz', 'kHz', 'MHz'

set_sweep_end_frequency(self, freq, sunits)

source code 

Set the frequency at the end of a sweep (in sunits). sunits may be: 'Hz', 'kHz', 'MHz'

set_sweep_marker_frequency(self, freq, sunits)

source code 

Set the frequency at which to output the marker signal during a sweep (in sunits). sunits may be: 'Hz', 'kHz', 'MHz'

start_sweep_single(self, waitfin)

source code 

Do a single sweep. If waitfin=1, wait for it to end.