Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

measuring voltages between adjustable borders

Solved!
Go to solution

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

0 Kudos
Message 1 of 11
(6,957 Views)

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.

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 11
(6,932 Views)

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

0 Kudos
Message 3 of 11
(6,918 Views)

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?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 11
(6,882 Views)

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.

0 Kudos
Message 5 of 11
(6,842 Views)

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.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 6 of 11
(6,832 Views)

Any update?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 7 of 11
(6,722 Views)

Hello Thierry,

 

 

No, apparently this problem is more difficult than I was thinking.  Regards, Theo

0 Kudos
Message 8 of 11
(6,713 Views)

At which part are you currently stuck?

How can we help you?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 9 of 11
(6,709 Views)
Solution
Accepted by TheodeGroot

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

 

0 Kudos
Message 10 of 11
(6,706 Views)