NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
f90hack
Posts: 1
0 Kudos

trigger external devices using TTL from PCIe-6259

Hi,

 

I have four lasers and I need to trigger any one of them on each iteration of a counter - the laser is selected randomly each time via a random number. I want to send a TTL pulse to the selected laser from the PCIe-6259 card, and I understand it has three DIO ports with 32 lines each. I want to set up 4 digital output channels, but I am not sure how it is done. Can this be done? I am using NIDAQmx ansi C.

 

Thank you for the help!

Active Participant
snowpunter
Posts: 274
0 Kudos

Re: trigger external devices using TTL from PCIe-6259

You have a few different options depending on the desired response time from your incoming counter to when you send the TTL signal.

 

I would take a look at the examples in the Counter and the Digital folder here (assuming you have the DAQmx driver installed):

 

C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\

CTA, CLD, MTFBWY
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page