10-06-2021 08:22 AM
10-06-2021 08:30 AM
This probably better handled physically.
10-06-2021 10:04 AM
I give up what is a positive and negative clipper?
If you mean to insure that the value of a variable remains within the bounds of Y1 and Y2 where Y1 > Y2 then you are looking for the "In Range Coerce" function which is found in the Programming -> Comparison pallet.
10-06-2021 11:21 AM
@Tom_Powers wrote:
I give up what is a positive and negative clipper?
If you mean to insure that the value of a variable remains within the bounds of Y1 and Y2 where Y1 > Y2 then you are looking for the "In Range Coerce" function which is found in the Programming -> Comparison pallet.
I looked it up - they are colloquial terms for a circuit that actually clips the tops and bottoms off a waveform. That's why I suggested doing it physically. There is no reason why you would want to do it in software that I can think of that wouldn't apply to a physical circuit, and it is just safer for everything in the circuit to have it done with a physical filter.
10-06-2021 12:40 PM
Billko wrote
I looked it up - they are colloquial terms for a circuit that actually clips the tops and bottoms off a waveform. That's why I suggested doing it physically. There is no reason why you would want to do it in software that I can think of that wouldn't apply to a physical circuit, and it is just safer for everything in the circuit to have it done with a physical filter.
10-06-2021 01:21 PM
@Tom_Powers wrote:
Billko wrote
I looked it up - they are colloquial terms for a circuit that actually clips the tops and bottoms off a waveform. That's why I suggested doing it physically. There is no reason why you would want to do it in software that I can think of that wouldn't apply to a physical circuit, and it is just safer for everything in the circuit to have it done with a physical filter.
BillYes I am an EE by education and can provide any number of circuits that would do that kind of function. What is not clear on forums like this is the background of and if English is the native language of the OP. I have edited any number of papers written by folks who used google translate to figure out a technical term, where I have to ask what do they really mean. That is why I asked for clarification and gave an example of a solution assuming that OP was asking a LabVIEW question and not a circuit design question.One example of where I use the coerce function as a "positive and negative clipper" on signals within LabVIEW when I am writing variables to an instrument or clocks to a DAQ module where an out of range value might throw an error.
I am just saying that I would condition the signal as much as possible before running it through any software "filter". Not "instruct" the EE - that's just what I would do first.