For Programmers: Free Programming Magazines  


Home > Archive > Matlab > January 2008 > a problem with analog input in matlab









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author a problem with analog input in matlab
tamiru

2008-01-31, 8:28 pm

Hello.
I have a small problem with the ‘Data acquisition’ toolbox. I am trying to get an input from a generator with a 5volt pulse. Unfortunately, matlab is identifying it as a 10.6 volt, even when I don’t generate the power, which means that by using the
analog input toolbox I get always the same voltage all the time, accept when I play with the voltage, then I can see that there is a change in the voltage, and then it goes hack to 10.6V. The weird thing is that when I try the ‘daqscope’ demo, it show
s me the true voltage.
This is all done after I defined the ‘nidaq’ device and the right channel.

I can’t understand what’s wrong with it.
If anyone could help me, I’d be really thankful!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com