コード例 #1
0
ファイル: DaqInScan03.py プロジェクト: conandewitt/lotus
    def __init__(self, master=None):
        super(DaqInScan03, self).__init__(master)

        self.board_num = 0
        self.daqi_props = DaqInputProps(self.board_num)
        self.ai_props = AnalogInputProps(self.board_num)
        if self.daqi_props.is_supported and self.ai_props.num_ti_chans > 1:
            self.init_scan_channel_info()

        self.create_widgets()
コード例 #2
0
ファイル: DaqInScan01.py プロジェクト: conandewitt/lotus
    def __init__(self, master=None):
        super(DaqInScan01, self).__init__(master)

        self.board_num = 0
        self.daqi_props = DaqInputProps(self.board_num)
        self.ai_props = AnalogInputProps(self.board_num)
        self.digital_props = DigitalProps(self.board_num)
        self.counter_props = CounterProps(self.board_num)
        self.init_scan_channel_info()

        self.create_widgets()
コード例 #3
0
    def __init__(self, master=None):
        super(DaqSetSetpoints01, self).__init__(master)

        self.board_num = 0
        self.daqi_props = DaqInputProps(self.board_num)

        example_supported = (self.daqi_props.is_supported
                             and self.daqi_props.supports_setpoints)
        if example_supported:
            self.ai_props = AnalogInputProps(self.board_num)
            self.digital_props = DigitalProps(self.board_num)
            self.counter_props = CounterProps(self.board_num)
            self.init_scan_channel_info()
            self.init_setpoints()

        self.create_widgets()