Hi! This discussion is a branch from this one.
Shortly, I want to count random pulses from a photon counter, which emits pulses only when its gate is activated (and this should be done in HW-timed manner), only when the gate is active.
I separated this task in two: to HW-timed emit gate pulses and to count edges when the gate is active. For the second task I created a VI:
could anyone who is more experienced please tell me, if I am doing it in a right manner? I am a little bit confused about how to wire my device: random TTL from the photon counter should go to PFI0 of ctr0 (in NI-9402 this is the 0 pin) and what I generte from the first task (actually, HW-timed gate pulses) then should be wired both to the gate terminal of my counter (left unwired above) and to the gate input of the photon counter... There must be a mistake in this, I guess (otherwise I must split a wire giving my output from the first task and connect it to the PFI1 and to the photon counter gate input).