Analogue channel issue with MYDAQ

3 views (last 30 days)
Stuart
Stuart on 27 Jan 2013
Using:
AI = daq.createSession('ni') % Creating session with DAQ device
ch1 = AI.addAnalogInputChannel('myDAQ1','ai0','Voltage') % Settnig up the analg channels to be used, and making him single ended
ch2 = AI.addAnalogInputChannel('myDAQ1','ai1','Voltage')
ch3 = AI.addAnalogInputChannel('myDAQ1','ai2','Voltage')
ch4 = AI.addAnalogInputChannel('myDAQ1','ai3','Voltage')
I am getting this error message:
??? The requested subsystem 'AnalogInput' does not exist on this device.
now i know for a fact that MYDAQs have 2 analogue channels and it is finding the device but not the subsystem? anyone got a solution for this?
Running 64Bit windows and R2011a Matlab
Regards
Stu

Answers (1)

Walter Roberson
Walter Roberson on 28 Jan 2013
MyDAQ requires R2012b for the rev 3.2 board. http://www.mathworks.com/products/daq/supported/ni-daqmx.html#myDAQ

Categories

Find more on Periodic Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!