Hello,
I would like to generate sine waves in MATLAB and send them to an external amplifier via DT9837C. This is the code I am using:
d = daq('dt');
% Define Channels
% Microphone
in0 = addinput(d, "DT9837-C(00)", "0", "IEPE");
in0.Range = [-1 1];
in0.TerminalConfig='SingleEnded';
in0.Coupling='AC';
in0.ExcitationCurrentSource='Internal';
in0.ExcitationCurrent = .002;
% Distance sensor
in1 = addinput(d, "DT9837-C(00)", "1", "Voltage");
in1.Range = [-10 10];
in1.TerminalConfig='SingleE