02-12-2009 01:38 PM
02-13-2009 11:00 AM
Can you please supply some more information on what you need to do exactly, hardware involved, LabVIEW version, etc. The Con Acq Graph Voltage-Analog SW Trigger.vi uses an analog software trigger where you can specify the number of pretrigger samples and then will continuously aquire until you stop the program. So, are you trying to have a software trigger and then aquire just a finite amount of points? Once these finite amount of points are aquired then wait till the trigger is reached again? If this is so, we do have examples that do retriggerable acquisition in the example finder in LabVIEW (Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Analog Measurements). These examples are:
Acq&Graph Voltage-Int Clk-HW Trig Restarts.vi
Acq&Graph Voltage-Int Clk-SW Trig Restarts.vi
08-06-2009 03:19 AM
Hy Jordan ,
I would to use the same example to do a continuous acquisition (with a decimation factor) and then, when the trigger happens,acquire all the sample at the maximum value. In add i would to try to put in the software trigger a button to force the acquisition when is pressed.
I did it (see the vi attached), but:
When i trig with the added button, i receive always the pretrigger zero.
Can you please have a look to the script please, probably i made an trivial error but i cannot see it.
08-07-2009 02:10 PM
Hello Gianko25,
What is the daq card that you are using? If you are trying to perform software trigger, I would recommend the following example on our community site.
Analog Acquisition with Software Analog Reference Trigger
http://decibel.ni.com/content/docs/DOC-5583