Utility Types

Structures

class bs120xenet.Bs120xOpModeConfig[source]

Operational mode configuration for the BS120x.

get_calibration_mode_enable() bool[source]

Gets the calibration mode enable state.

Return type:

bool

get_pid_disable() bool[source]

Gets the PID disable state.

Return type:

bool

get_precision_mode_enable() bool[source]

Gets the precision mode enable state.

Return type:

bool

set_calibration_mode_enable(val: bool)[source]

Sets the calibration mode enable state.

Parameters:

val (bool)

set_pid_disable(val: bool)[source]

Sets the PID disable state.

Parameters:

val (bool)

set_precision_mode_enable(val: bool)[source]

Sets the precision mode enable state.

Parameters:

val (bool)

class bs120xenet.Bs120xStatus[source]

Health and status information for the BS120x.

get_fan_fail_status() list[bool][source]

Returns a list of fan failure statuses. A value of TRUE indicates a fan failure.

Return type:

list[bool]

get_inhibit_state() bool[source]

Gets the state of the inhibit.

Return type:

bool

get_temps() list[float][source]

Gets the list of temperatures reported in degrees Celsius.

Return type:

list[float]

class bs120xenet.Bs120xUnitConfig[source]

Unit configuration information.

get_serial_number() str[source]

Gets the unit serial number.

Return type:

str

get_firmware_version() str[source]

Gets the unit firmware version.

Return type:

str

get_calibration_date() str[source]

Gets the unit calibration date.

Return type:

str

get_cell_inhibit_enable() bool[source]

Gets the state of the cell inhibit enable.

Return type:

bool

get_ip_address() str[source]

Gets the unit IP address.

Return type:

str

get_udp_data_port() int[source]

Gets the UDP data port used by the unit.

Return type:

int

get_udp_data_period() int[source]

Gets the interval in milliseconds at which data is broadcast over UDP.

Return type:

int

get_udp_data_broadcast_enable() bool[source]

Gets the enable state of the UDP data broadcast.

Return type:

bool

get_box_id() int[source]

Gets the Box ID of the unit.

Return type:

int

get_can_data_period() int[source]

Gets the interval in milliseconds at which CAN data is sent.

Return type:

int

Exceptions

class bs120xenet.Bs120xEnetError[source]

The client returned an error.