02-25-2013 09:16 AM
I am using the usb6009 DAQ board to acquire data from both a force sensor and EMG (electromyogram) in MATLAB simultaneously. It is working properly except I for some reason cannot change the input range from [-10 10] volts. When querying MATLAB about possible input ranges it gives many different ranges ([-1 1], [-5 5], etc) as I would expect, but for some reason will not allow me to change to any of these values. Anybody have a similar issue or can give me some insight? TYVM
02-26-2013 10:27 AM
Hi,
You can try the following:
s = daq.createSession('ni');
s.addAnalogInputChannel('Dev1',0:1,'Voltage')
set(s.Channels,'InputType','Differential')
set(s.Channels,'Range',[-10 10])
See documentation on InputRange for more details.