Discussion:
signals from Analog to digital converter
(too old to reply)
chattarbir
2008-06-26 11:40:08 UTC
Permalink
Helo there
 
I get good signals from my analog to digital converter (ADC) . Two sensors are connected to it at the moment, although there is the possibility of connecting more hardware to it. any way while functioning it misses to give signal and i can know it from my two pressure sensors they fall to some arbitrary value (most of the time it is zero or below) and in less then second it goes back to the same value where it was.
 
As this signal are connected to my control system it disrupts the flow rates and whole system take a while to become stable.
 
The possible solution is if i can some how put in some command that says " if it recieve no signal from ADC then it should not change the value or take the preious value"
 
I want to know how i can do that
 
Please help me if you know solution
 
Regards
chattarbir Singh
Dennis Knutson
2008-06-26 15:10:14 UTC
Permalink
That's pretty easy to do in your code. What programming language are you using? With LabVIEW, you just need a comparsion (i.e. Less Than, a Select function, and a shift register.
chattarbir
2008-06-26 15:10:14 UTC
Permalink
Well i am using the Labview
can you be more specific on that
thanks regards
RikP
2008-07-01 12:40:11 UTC
Permalink
Hello,
 
I think the attached example (sorry it is quick and dirty) is what Dennis means. I represented the ADC signal with a control. Just compair it to a threshold value. When above the threshold use the ADC value, when under the threshold use the value in the shiftregister.
 
Regards,
 
RikP - National Instruments Applications Engineering
 


example2.vi:
http://forums.ni.com/attachments/ni/70/9126/1/example2.vi

Continue reading on narkive:
Loading...