fixate.drivers.pps package

fixate.drivers.pps.open() PPS

Submodules

fixate.drivers.pps.bk_178x module

class fixate.drivers.pps.bk_178x.BK178X(com_port)

Bases: PPSInterface

REGEX_ID = 'model: 6823'
property address
property calibration_info
property current_max
get_identity() str

[‘address: 0, checksum: 40, command: 49, model: 6823, serial_number: 3697210019, software_version: 29440, start: 170,’, ‘9600’] :return:

identify(as_string=False)
property output_ch1
read()
property remote
property voltage
property voltage_max
class fixate.drivers.pps.bk_178x.PPSInterface(com_port)

Bases: PPS

DATA_BYTE = 8
INSTR_TYPE = 'SERIAL'
PACKET_LENGTH = 26
PARITY = 'N'
REGEX_ID = 'model: 6823'
STOP_BIT = 1
attempts = 5
property baud_rate
com_port = None
communicate(command, *data_tuples)
connected = False
get_identity()

same function as idn, but discover.py expects this function I don’t know if any test scripts reference idn so I won’t refactor it

instrument = None

fixate.drivers.pps.helper module

class fixate.drivers.pps.helper.Address

Bases: object

dhcp(value: bool)
gate(value: str)
ip(value: str)
mask(value: str)
class fixate.drivers.pps.helper.Channel

Bases: object

current(value: float | int)
voltage(value: float | int)
wave(value: bool)
class fixate.drivers.pps.helper.Groups

Bases: object

group1()
group2()
group3()
group4()
group5()
class fixate.drivers.pps.helper.Measure

Bases: object

current()
power()
voltage()
class fixate.drivers.pps.helper.PPS(instrument)

Bases: object

INSTR_TYPE = ''
REGEX_ID = 'PPS'
get_identity()

same function as idn, but discover.py expects this function I don’t know if any test scripts reference idn so I won’t refactor it

idn()
series()
class fixate.drivers.pps.helper.Timer

Bases: object

set_waveform(waveform: list)
Parameters:

pattern – A list of tuples of pattern

[ (voltage: number in volts, current: number in amps, duration: number in seconds) ] eg. [(12,0.5,2), (24, 0.5, 3)] will be set at 12V 0.5Amps for 2 seconds followed by 24V 0.5 Amps for 3 seconds Takes a maximum of 5 points Must call timer(True) to start the waveform :return:

fixate.drivers.pps.siglent_spd_3303X module

class fixate.drivers.pps.siglent_spd_3303X.SPD3303X(instrument)

Bases: PPS

INSTR_TYPE = 'VISA'
REGEX_ID = '3303X'
property current_max
get_identity() str
Returns:

Return Info Manufacturer, product type, series No., software version,hardware version Typical Return Siglent Technologies, SPD3303X, SPD00001130025,1.01.01.01.02,V3.0

init_api()
property output_ch1
prepare_string(func, handler, base_str, *args, **kwargs)
query_ascii_value(value)
query_ascii_values(value)
query_value(base_str, *args, **kwargs)
read_termination = '\n'
property remote
property voltage
property voltage_max
write(base_str, *args, **kwargs)
write_half(base_str, value)
write_termination = '\n'
write_timer(base_str, waveform)