示例#1
0
    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
    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()