The attached VI returns an Error 16777217 at unidentifed loaction.
The code is designed to perform the following steps:
1. AI read from one channel
2. Calculate the mean and 3*StDev of waveform.
3. Use these statictics to define a window trigger.
4. When trig met, Read 500 samples of data and plot.
5. Calculate the StDEv of waveform.
6. When the StDev is less than a selected tolerance, stop collecting data.
The hardware set up is a manually adjusted DC power supply attached to the channel on a PCI-MIO-16E-4 with SCB-68 connection box.
Steps 1-5 run smoothly. When the power supply stops varying and the StDev decreases the program breaks and displays the above error.
I would appreciate any help in identifyi
ng the source of the problem or an easier implementation of this process.
Brian Wells
Space Power Institute
Auburn University, AL