12-11-2012 08:47 AM
Hello,
For my program, which I use to read out some temperatures and flows, etc , on an engine testbench, I want to be able to build in a kind of adjustable threshold borders for minimum and maximum values for the voltages. When the engine is not running, there are always some low floating values visible on the front panel. I want to able to put in some border/threshold voltage values. This value should let the front panel displays to show zero when signal is very low and floating. Is there a feature for this? For upper limits, it is not actually nescessary, but I am wondering if there is a building block for this already present in labview.
My program should also be attached.
Thanks in advance, regards, Theo
Solved! Go to Solution.
12-13-2012 04:53 AM
Hello Theo,
Thank you for posting this question!
One quick question back before starting to go into the code:
Which DAQ hardware are you using?
Also one thing I noticed from my first look at the VI:
Are you familiar with point by point VI's?
I see that you're using a large amount of shift registers which could easily be reduced by using for the "Mean PtByPt.vi" in combination with other functions.
12-14-2012 07:51 AM
Dear Thierry,
Tank you for your reply
I am using a NI DAQPAD6015.
I was not familiar with point to point VI’s . But I have tried the “Mean PtByPt vi” and it works fine. Thanks for your tip, since I was already wondering how to average more signals without using more shift registers. Thanks for this Tip!
Do you also know, if there is a solution for my initial question? For instance, I have a coriolis 0-100g/sec massflow meter (2-10V signal), and I want to cut of signals below 5g/sec, (since I know this is only some noise ripple on my signal)?
Regards, Theo
12-20-2012 08:00 AM
Hello Theo,
Is it your goal to do this on a point-by-point basis or rather on a data-set with multiple samples?
Do you want to filter the low signals away so that they are smaller or just make all of them 0?
01-02-2013 02:20 AM
Dear Thierry,
For starters, I want to wish you a happy newyear!
Thank you for replying again.
I think I do not understand your question, since I do not really know what you mean by sampling on a point-by point basis.
I think in principle I want to sample on a sample rate of 10Hz, but in order to have some calmer display of my display clocks, I wanted to have a solution for taking the averige of multiple samples. But still, I have a desire to be able to cut off very low values. Maybee it would be helpfull to continue this discussion in Dutch. For myself, it would be more easy if I could explain in Dutch.
01-03-2013 08:32 AM
Thank you for the wishes!
I also wish you a very happy new year!
Continuing the communication solely in Dutch on the forum might not be a good idea, because it is against certain rules/guidelines on the forum.
What you could always do is write both English and Dutch versions here, so that we are sure that we are on the same page.
02-04-2013 09:37 AM
Any update?
02-05-2013 01:57 AM
Hello Thierry,
No, apparently this problem is more difficult than I was thinking. Regards, Theo
02-05-2013 03:57 AM
At which part are you currently stuck?
How can we help you?
02-05-2013 09:28 AM
Is this what you want for suppressing your noise? It uses In Range and Coerce? to test the signal against the limits and replaces any out of range data with zero.
Lynn