06-28-2019 07:08 AM
wanted to ask if the straight line (which is coming just before the charging of capacitor) to be eliminated.
what i am saying is that we only want the shape which is in yellow region. the straight line which is coming just before the yellow region is to be removed.
06-28-2019 07:14 AM - edited 06-28-2019 07:15 AM
Hi Rahul,
I would do this in two steps:
See how far you will get!
06-28-2019 09:41 AM
Realizing now that you do not just want to zero out the out of range values but want to eliminate then completely...
Go back to the For loop that you showed in post #5 of this thread.
Right-click the output tunnel that carries your data and choose
Tunnel Mode >>> Conditional
You will now see a condition terminal that will accept a Boolean ( like you have wired in the bottom tunnel) that when true will include that value in the output array and when false will exclude the value from the output array.
Making that change will toss the out of range values from the output array.
Ben
07-01-2019 11:10 AM
hi
i am using PXIe-5114 through which i am acquiring continuous pulses of a machine. i want to eliminate the rectangular pulse (enclosed in red region in attached pic) or simply make the rectangular pulse zero.
kindly help for the same.
07-01-2019 11:59 AM
You've already asked this question. Don't create a new thread with the same question.
This thread is now merged into the oirginal.
07-01-2019 12:06 PM - edited 07-01-2019 12:10 PM
3 steps: Identify, Isolate, Eliminate
1. Identify - define criteria that finds and characterizes such "pulses". Watch out for both false positives *and* false negatives.
2. Isolate - define how to bound the region containing exactly the pulse and only the pulse
3. Eliminate - straightforward after pulse has been identified and isolated
-Kevin P
[Edit: started answer before forced merge into old thread. I'll leave my response up, but I no longer expect my mere hints to be enough, nor am I likely to take time to follow this through to the finish.]
07-02-2019 05:48 AM
hello ben
i did what you suggested but it still shows the rectangular pulses (attached pic)
please correct me if i did anything wrong in block diagram.
07-02-2019 06:32 AM
Apparently all of your values are in the range of 0-100. The peak of that pulse is pretty much at 100.
Imagine what your waveform would look like if you changed that In Range and Coerce to, ohhh, let's say, 0-90?