05-14-2010 03:46 PM - edited 05-14-2010 03:47 PM
If I have a waveform with 50% pretrigger data, and 50% posttrigger data, is there a way to take two separate integrals, one for each section? I want to calculate the background noise for our experiment. Currently I'm trying to fetch the measurements from two different waveforms, one with 100% pretrigger data and one with 0%. But the pretrigger data doesn't match up with the signal data so the noise calculation is incorrect.
I'm using a PXI-1000B.
Thanks
Here's the old vi that I'm trying to modify:
Solved! Go to Solution.
05-17-2010 12:37 PM
Have you tried taking the original signal with pre and post trigger data and simply split the array in half? It will take a couple of functions to do this, but it's a pretty straightforward task. For Example:
05-17-2010 01:06 PM
05-17-2010 01:52 PM
Yes that worked perfectly. Do you know which vi I should use to replace the niScope Fetch Measurement I had before? I need the integral of the waveforms.
Thanks again.
05-17-2010 02:03 PM
05-17-2010 02:14 PM
How do I get the data for both waveforms? Do I need to do a similar splicing procedure to the results of the fetch measurement vi?
05-17-2010 02:50 PM
Over at the far right of the block diagram is my attempt at doing the integral for the post trigger data. The integral indicator isn't responding. Do I have the wrong things wired into the integral x(t) function?
Thanks
05-17-2010 03:12 PM
I figured it all out.
Thank you so much for your time and help.
05-18-2010 11:03 AM