devices.hewlettpackard:HP3245A
HP3245A AC function generator.
Usage
devices.hewlettpackard:HP3245A(
interface,
**kwargs,
)Typically connected via GPIB::<address>::INSTR
Parameters
interface: str-
VISA resource string for the instrument.
**kwargs: dict- Additional keyword arguments passed to VisaDevice.
Attributes
output: list-
Current and offset values [current, offset].
frequency: float-
The current frequency setting.
config_params: dict- Configuration parameters for the device.
Methods
| Name | Description |
|---|---|
| __init__() | Initialize the HP3245A function generator. |
| ident() | Query the instrument identification. |
| set_current() | Set the output current amplitude. |
| set_freq() | Set the output frequency. |
| set_offset() | Set the DC offset value. |
__init__()
Initialize the HP3245A function generator.
Usage
__init__(
interface,
**kwargs,
)Parameters
interface: str-
VISA resource string for the instrument.
**kwargs: dict- Additional keyword arguments passed to VisaDevice.
ident()
Query the instrument identification.
Usage
ident()Returns
str- Instrument identification string.
set_current()
Set the output current amplitude.
Usage
set_current(curr)Parameters
curr: float- Current amplitude value in amperes.
set_freq()
Set the output frequency.
Usage
set_freq(freq)Parameters
freq: float- Frequency value in hertz.
set_offset()
Set the DC offset value.
Usage
set_offset(dcoff)Parameters
dcoff: float- DC offset value in volts.