Please refer to the experimental setup picture to know what I'm about to ask.
I have a vi that is designed to acquired the signal from the Tektronik 420A oscilloscope. When the transducer is in the air, it would generate some signal, let's call it the natural frequency (or noise). I wired into an array and save it to a file, called it ARRAY A. I only need to collect this data once before running the test.
When the transducer touches the teflon [called it testing state], it would generate a different signal, and I save this to ARRAY B. I want to run this for 30 seconds, and save a waveform data for every 1 second.
So here's the question: How do I automate LabVIEW such that when the "Natural Frequency" is selected in the testing state, labview would temporary save it to an array [ARRAY A].... and when "testing" is selected, labview would save it into an ARRAY B, then take ARRAY B substracts ARRAY A and save the output?
I tried to do this (as shown in the .llb file attached), but when I switch the state from "Natrual Frequency" to "testing", the information doesn't get store in the array. Please help.
Thank you very much. I'm doing this for my senior project.
Experimental Setup:
Labview llb file:
Download File:post-11146-1206485356.llb