Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I route a TTL to trigger a board in other computer when AO starts

I need to trigger two boards that are in different computers, just when the PC-MIO-16E4 begins the AO generation.

Thanks

Paul Delano
0 Kudos
Message 1 of 4
(2,615 Views)
Paul,

There won't be a way in hardware to do this, but you could do it in software.

On the machine with the PCI-MIO-16E-4 you could monitor the PFI5/UPDATE pin. This pin pulses every time the output is being updated.

You could monitor the PFI5/UPDATE pin with a counter on the PCI-MIO-16E-4 and when the counter sees the first transition you will know that the output has started.

On the other PC, you would need a way monitor the program on the host PC. If you're using LabVIEW, you could use Datasocket or VI Server to monitor the control in the program that outputs the result of the counter. So, you could have both programs monitoring the count output and when it transitions from 0 to 1, both programs would be triggered.

There are probably other met
hods, this is just a suggestion. I hope this helps.

Regards,

Todd D.
0 Kudos
Message 2 of 4
(2,615 Views)
Thanks for your answer.

I´ve been reading other responses, ¿ What about the PFI6/WT pin? ¿ Can it work as an output trigger ? ¿ Or is it possible to route this signal as the gate for the GPCTR 0 and trigger an external computer without jitter ? ¿ Is any other way?, (I use Labwindows)

Thanks

Paul Delano
0 Kudos
Message 3 of 4
(2,615 Views)
The PFI6/WFTrig can work as an output trigger. This trigger occurs once the waveform generation starts and won't happen again until the generation is stopped and started over.

My first answer was based on the assumption that the computers weren't close enough to connect wires between the two devices. If the computers are close enough, you could use the PFI6/WFTrig as an output from one device and as a trigger for the other.

Regards,

Todd D.
NI Applications Engineer
0 Kudos
Message 4 of 4
(2,615 Views)