Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

"Skip Count" option in AI Trigger Config.vi does not work

I tried to use the skip count option in AI Config Trigger.vi by setting "skip count" to a value n>0. It showed no effect when used in connection with a digital start & stop trigger, especially in the file AI Start-Stop D-Trig.vi (downloadable from www.ni.com).
I just wanted to scan all the data between the start trigger (=trigger B) and the (n+1)-th stop trigger (=trigger A) by skipping the first n stop triggers.
Is there any trick to solve this problem?

Thanks a lot,

Tobias
0 Kudos
Message 1 of 5
(2,711 Views)
Which DAQ card are you using?

Mark
0 Kudos
Message 2 of 5
(2,711 Views)
Hi Mark,

I am using a PCI MIO 16E4.

Tobias
0 Kudos
Message 3 of 5
(2,711 Views)
Tobias,

Unfortunately, the "skip count" feature is not currently supported by National Instruments DAQ devices. However, the example I have linked to below implements this functionality with the help of a counter.

Event Triggering: Skip a Specified Number of Triggers Before Starting Data Acquisition

Good luck with your application.

Spencer S.
0 Kudos
Message 4 of 5
(2,711 Views)
Hi Spencer,

thanks a lot for your hint!

A little problem remains: Counter0 and the AI Start Trigger should start at exactly the same time. Otherwise it may happen that Counter0 already starts counting down while the AI Start Trigger (=triggerB) has missed the start event.

A possible way out might be to make the AI Start Trigger a kind of master which--once it was triggered--immediately starts Counter0. Can this be realized by routing the TRIG1 or STARTSCAN signals to GPCTR0_GATE? If so, how to perform this routing?

Greetings,

Tobias
0 Kudos
Message 5 of 5
(2,711 Views)