Class LineBreak

    • Constructor Detail

      • LineBreak

        public LineBreak​(int dioChannel,
                         int pcmID,
                         int pcmChannel)
        Create a Line Break sensor object for a sensor that is powered via a Pneumatic Control Module
        Parameters:
        dioChannel - DigitalIO signal channel
        pcmID - PCM CAN device ID
        pcmChannel - PCM device channel
      • LineBreak

        public LineBreak​(int dioChannel,
                         Solenoid pcmPowerSource)
        Create a Line Break sensor object for a sensor that is powered via a Pneumatic Control Module
        Parameters:
        dioChannel - DigitalIO signal channel
        pcmPowerSource - Solenoid power output
      • LineBreak

        public LineBreak​(int channel)
        Create a Line Break sensor object for a sensor that is powered via an external source
        Parameters:
        channel - DigitalIO channel
    • Method Detail

      • flush

        public void flush()
        Flush the CAN bus and send a new packet to keep external power enabled
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Overrides:
        close in class DigitalInput