USB-2416-4AO Matlab Live user interface
I want to make a code that takes in analog inputs from a DAQ and is able to store that data in plots as well as send output signals based on the inputs. I cannot seem to get the code to store any data or read data directly from the DAQ in matlab.
My code so far:
d = daqlist("mcc");
d(1, 🙂
dq = daq("mcc")
addinput(dq, "Board0", "Ai0", "Voltage");
dq
[data, startTime] = read(dq, seconds(1));
plot(data.Time, data.Board0_Ai0);
xlabel("Time (s)");
ylabel("Voltage (V)");I want to make a code that takes in analog inputs from a DAQ and is able to store that data in plots as well as send output signals based on the inputs. I cannot seem to get the code to store any data or read data directly from the DAQ in matlab.
My code so far:
d = daqlist("mcc");
d(1, 🙂
dq = daq("mcc")
addinput(dq, "Board0", "Ai0", "Voltage");
dq
[data, startTime] = read(dq, seconds(1));
plot(data.Time, data.Board0_Ai0);
xlabel("Time (s)");
ylabel("Voltage (V)");Â I want to make a code that takes in analog inputs from a DAQ and is able to store that data in plots as well as send output signals based on the inputs. I cannot seem to get the code to store any data or read data directly from the DAQ in matlab.
My code so far:
d = daqlist("mcc");
d(1, 🙂
dq = daq("mcc")
addinput(dq, "Board0", "Ai0", "Voltage");
dq
[data, startTime] = read(dq, seconds(1));
plot(data.Time, data.Board0_Ai0);
xlabel("Time (s)");
ylabel("Voltage (V)"); daq, gui MATLAB Answers — New Questions
​