05-05-2017 06:31 AM
Hi,
I am using NIDAQ 6009 to output two analogue voltage. code followed:
"s = daq.createSession('ni');
addAnalogOutputChannel(s,'Dev1','ao0','Voltage');
addAnalogOutputChannel(s,'Dev1','ao1','Voltage');
outputSignal1 = linspace(-0,1)';
outputSignal2 = linspace(-1,1)';
plot(outputSignal1);
hold on;
plot(outputSignal2,'-g');
xlabel('Time');
ylabel('Voltage');
legend('Analog Output 0', 'Analog Output 1');
queueOutputData(s,[outputSignal1 outputSignal2]);
s.startForeground;
"
but there is an error:' queueOutputData is disabled because the session contains channels that do not support clocked operations.‘
What should I do?
Regards
Xiaoran
05-05-2017 07:34 AM
AO on NI USB-6009 is static. You cannot use clocked operations.
05-05-2017 07:41 AM
Thank you very much! How about NIDAQ-6212?
I checked the specifications of these devices. It seems that no words indicates that it supports clocked operations or not.
05-11-2017 10:46 AM
The USB-6212 supports clocked analog output. However, if you want a low cost device, you may want to take a look at the USB-6003. It supports clocked analog input / output like the 6212, but slower. Is is still faster than the 6009.
None of these devices support clocked digital i/o. If you think you will ever need that you will need something like a USB-6341, which is not USB powered and is quite larger.
Regards,