Skip to content
Snippets Groups Projects
Select Git revision
  • 6e1fc2cb46f1b9dd929541ce29613edfeb550a62
  • main default protected
  • 1.1.0
  • i18n-support
  • v1.0.1-rc12
  • v1.0.1-rc11
  • v1.0.1-rc10
  • v1.0.1.rc9
  • v1.0.1.rc8
  • v1.0.1.rc7
  • v1.0.1.rc6
  • v1.0.1.rc5
  • v1.0.1.rc4
  • v1.0.1.rc3
  • v1.0.1-rc2
  • v1.0.1-rc1
16 results

views.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    BrickIO.m 1.05 KiB
    classdef BrickIO < MaskedHandle
        % Abstract class definition for brick input output
        %
        % Notes:
        %     * The read/write-methods use uint8-arrays.
        %     * Instances of child-classes of BrickIO represent connection handles. The connection is
        %       opened when creating them and closed when deleting them.
        %
        % Methods:
        %     open: Open the connection to the brick
        %     close: Close the connection to the brick
        %     read: Read data from the brick
        %     write: Write data to the brick
        % 
        
        properties (Abstract)
            % timeOut: time-out period (if 0, no time-out)
            timeOut 
        end
        
        properties (Abstract, Access = protected)
            % handle: Connection handle to the device
            handle
        end
        
        methods (Abstract)
            % Open the brick connection
            open(BrickIO)
            % Close the brick connection
            close(BrickIO)
            % Read data from the brick
            read(BrickIO)
            % Write data to the brick
            write(BrickIO)
        end
    end