Definitions

A module that provides defines and constants useful for working with the python library.

brainstem.defs.MODEL_ETHERSTEM = 5

EtherStem Model number

brainstem.defs.MODEL_MTM_DAQ_1 = 20

MTM-DAQ-1 Model number

brainstem.defs.MODEL_MTM_DAQ_2 = 22

MTM-DAQ-2 Model number

brainstem.defs.MODEL_MTM_ETHERSTEM = 15

MTM EtherStem Model number

brainstem.defs.MODEL_MTM_IOSERIAL = 13

MTM-IO-Serial Model number

brainstem.defs.MODEL_MTM_PM_1 = 14

MTM-PM-1 Model number

brainstem.defs.MODEL_MTM_RELAY = 18

MTM-Relay Model Number

brainstem.defs.MODEL_MTM_USBSTEM = 16

MTM USBStem Model number

brainstem.defs.MODEL_USBHUB_2X4 = 17

USBHub 2x4 Model number

brainstem.defs.MODEL_USBHUB_3P = 19

USBHub 3+ Model number

brainstem.defs.MODEL_USBSTEM = 4

USBStem Model number

brainstem.defs.MODEL_USB_C_SWITCH = 21

USBC-Switch Model number

brainstem.defs.model_info(model)[source]

Get Model information.

Parameters:model (int) – One of the model numbers, i.e from stem.system.getModel().
Returns:Return a string containing model information.
Return type:str
brainstem.defs.model_name(model)[source]

Get Model Name.

Parameters:model (int) – One of the model numbers, i.e from stem.system.getModel().
Returns:Return a string containing model name.
Return type:str