LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

start on rising edge and stop acquiring signal on on falling edge

i have an automatically generated start/stop trigger which controls analogue data acquisition. the data is simply acquired and saved to file for some post processing later. my trigger input is on the PFI rising edge to start, falling edge to stop. trigger signals are produced externally with some logic circuit. at present i'm using  usb6009 as a executable built from l'view 8.

i'd like to convey to the user some status information, i.e. that the system is preparing to acquire data between the stop-start trigger. and that it is acquiring data between the start-stop trigger.


hope my explanation makes sense?

regards, Khalil

0 Kudos
Message 1 of 6
(3,174 Views)

One way is to run trigger in a flat sequence. if the trigger block is done then you can signal the user on the next frame?

 

0 Kudos
Message 2 of 6
(3,124 Views)

I did not understand it, Can you please explain it a bit more.

 

Regards;

0 Kudos
Message 3 of 6
(3,102 Views)

Hello Khan_Khalil

 

I believe what Ervin_Seferi is referring to is this

Start.png

 

Also, this can be achieved by using a state structure such as the example below. 

 

Start1.png

 

Regards,

 

Izzy O.

Applications Engineer

National Instruments 

0 Kudos
Message 4 of 6
(3,099 Views)

Thanks a lot for the quick reply.

 

Actually the conditions that can be set for triggering are a bit different.

In Pre-triggering, you will get pre defined number of samples before the trigger occurs.

In Post triggering. you will get pre defined number of samples after the trigger occurs.

 

I want to start acquiring on first trigger and stop on the second trigger.

 

Hope you will have understand why I want to do.

 

Regards;

0 Kudos
Message 5 of 6
(3,094 Views)

Try this. And yes start on rising(digital) edge does not sample prior or after unless you are triggering off a digital pattern. This might apply to analog triggering under analog window.

0 Kudos
Message 6 of 6
(3,085 Views)