Esempio n. 1
0
    def get(self) -> bool:
        """Get the value from a digital input channel. Retrieve the value of
        a single digital input channel from the FPGA.

        :returns: the state of the digital input
        """
        return hal.getDIO(self.handle)
Esempio n. 2
0
    def get(self):
        """Gets the value being output from the Digital Output.

        :returns: the state of the digital output
        :rtype: bool
        """
        return hal.getDIO(self.handle)
    def get(self):
        """Gets the value being output from the Digital Output.

        :returns: the state of the digital output
        :rtype: bool
        """
        return hal.getDIO(self.handle)
Esempio n. 4
0
    def get(self):
        """Get the value from a digital input channel. Retrieve the value of
        a single digital input channel from the FPGA.

        :returns: the state of the digital input
        :rtype: bool
        """
        return hal.getDIO(self.port)
Esempio n. 5
0
    def get(self):
        """Get the value from a digital input channel. Retrieve the value of
        a single digital input channel from the FPGA.

        :returns: the state of the digital input
        :rtype: bool
        """
        return hal.getDIO(self.port)
Esempio n. 6
0
    def get(self):
        """Get the value from a digital input channel. Retrieve the value of
        a single digital input channel from the FPGA.

        :returns: the state of the digital input
        :rtype: bool
        """
        if self.port is None:
            raise ValueError("operation on freed port")
        return hal.getDIO(self.port)
Esempio n. 7
0
    def get(self):
        """Get the value from a digital input channel. Retrieve the value of
        a single digital input channel from the FPGA.

        :returns: the state of the digital input
        :rtype: bool
        """
        if self.port is None:
            raise ValueError("operation on freed port")
        return hal.getDIO(self.port)