phillcau

Newcomers
  • Content Count

    1
  • Joined

  • Last visited

  1. Q1. I tried to capture the signal with Analog discovery2 (input) generated by Analog discovery2 (output) with the help of matlab data acquisition (DAQ) toolbox. The data capture is not reliable (sometimes captured, but not always). Please let me know the reason. ------------------------- clear all, close all, clc daqlist("digilent") dq = daq("digilent") %% Output Setting % Add a function generator channel with device ID AD1 and channel ID 1. Set the waveform type to Sine. ch_fgen = addoutput(dq, "AD1", "1", "Square"); % Set channel gain to 5 (sets the amplitude o