Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate a TTL signal with PCI-1407

I have an PCI-1407 card. I would need to require to send a TTL signal out to another device. How could it be done? Is there an example?

Also I would need to recieve some data bits from an external device. Can I still use the DAQ card? Or should I use the parallel/serial ports???

Thanks for your help!
0 Kudos
Message 1 of 5
(3,414 Views)
The 1407 can generate TTL logic levels out of its trigger line. Use the IMAQ Configure Trigger.vi to route timing signals (such as line rate or frame rate) from the camera to the trigger line. You can also set the logic levels in software by asserting and unasserting the trigger line using the IMAQ Trigger Drive.vi.

Also, if you need to acquire data bits from an external device, then a simple E-Series DAQ device should work well for you and will be easier to program that the serial or parallel port.

Let me know if you have further questions.

Kyle V.
Message 2 of 5
(3,414 Views)
THanks for your reply.

Would it be also possible to use IMAQ Generate Pulse.vi to do the triggering?
0 Kudos
Message 3 of 5
(3,414 Views)
Unfortunately no, you can't use the Gernate Pulse.vi with the 1407. That VI can only be used by our digital frame grabbers and the NI 1409, since they have a special timer chip on them that can generate pulse trains. The trigger line on the other analog frame grabbers can't generate pulse trains; they can only route camera sync signals and software timed TTL levels.
0 Kudos
Message 4 of 5
(3,414 Views)
Would there be any example on the NI site on how to use this VI?
0 Kudos
Message 5 of 5
(3,414 Views)