Data Acquisition Toolbox Support Package for Digilent Analog Discovery hardware (R2012a / R2012b)

by

 

02 Oct 2012 (Updated )

Analog Input/Output (foreground clocked/non-clocked) support for Digilent Analog Discovery.

daq.di.internal.const.Digilent
%   Copyright 2013 The MathWorks, Inc.

classdef Digilent < handle
    %daq.di.internal.const.ActiveSubsystems: General constants used by all
    %Digilent devices.
    %
    %   This undocumented class may be removed in a future release.    
  
    %   Copyright 2013 The MathWorks, Inc.      
    
    properties (Constant)
        
        % Enable
        ChannelDisable = int32(0);
        ChannelEnable = int32(1);
        
        %Reconfigure        
        DoNotReconfigure = int32(0);
        DoReconfigure = int32(1);
        
        %ReadData
        DoNotReadData = int32(0);
        DoReadData = int32(1);       
        
        % Configure
        ChannelStop = int32(0);
        ChannelStart = int32(1);
        
        % Channel (0, 1, -1: synchronized outputs)
        Channel1 = int32(0);
        Channel2 = int32(1);
        ChannelSynchronized = int32(-1);
        
        % Number of times to repeat waveform generation
        RepeatInf = int32(0); % 0 repeats => indefinite repetition
        RepeatNone = int32(1);
        RepeatOnce = int32(2);
        
        % Repeat triggers during the repeat-cycle?
        RepeatTriggerDisable = int32(0);
        RepeatTriggerEnable = int32(1);
        
        % Number of seconds to wait before timeout elapses
        TimeoutDisabled = int32(0);
        
        % Run-Time Length (duration)
        DurationInf = int32(0);
        
    end
   
end

Contact us