06-28-2015 11:47 PM
Hi!
I'm trying to make a program that takes a signal from a sensor using the agilent 2000 x-series driver. I set all the characteristics of the trigger, but he problem is the the program is ignoring this trigger and taking all the signal. so, when I look for the database I have a lot of data that is completely unuseful. I don´t know if I'm doing it incorrect so I atatch a screenshot of my program.
I based this program in the continuous adquisition vi that was included as an example.
Please help me.
Thank you very much
06-29-2015 05:40 AM
Your acquisition and trigger setups only need to be done once. So move those to run before the loop.
Do you only want to save the last acquired waveform or all of them. You are currently only saving the last waveform.
06-29-2015 08:42 AM
I tried to do it but the triggers is ignored too. I need to have a continuous adquisition of pulses and save them in a .txt file, so I don`t know how to use the while loop correctly.
When the agilent doesn't recieve any pulse, it mus be working on SIngle, and then when it recieves the pulse it must Stop and save the data in the .txt file and finaly go back to Single waiting for another pulse
06-29-2015 05:17 PM
Hello primo25,
As crossruiz mentioned, you’ll need to take out the trigger and setup vi’s from the while loop. How the diagram looks like? Additionally, if you need to catch all measurements and then write a file, you should use indexing mode instead of Last value tunnel mode.
Bye