py_canoe.core.bus.Bus

The Bus object represents a bus of the CANoe application.

Source code in src\py_canoe\core\bus.py
21
22
23
24
25
26
27
28
29
30
31
32
33
def __init__(self, app):
    self.app = app
    self.com_object = self.set_bus('CAN')
    self.VALUE_TABLE_SIGNAL_IS_ONLINE = {
        True: "measurement is running and the signal has been received.",
        False: "The signal is not online."
    }
    self.VALUE_TABLE_SIGNAL_STATE = {
        0: "The default value of the signal is returned.",
        1: "The measurement is not running. The value set by the application is returned.",
        2: "The measurement is not running. The value of the last measurement is returned.",
        3: "The signal has been received in the current measurement. The current value is returned."
    }