LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger a digital pulse pattern from counter

Hi all,

 

I'm trying to make a VI that will supply the start and clock pulse to an image sensor. The pulses would be something like:

CLK: TFFTTFFTTFFTTFFT...

ST: FFTTTTTTTTTTTT...

Where the number of T for the start is four times the number of pixels on the sensor. What I eventually want is for the clock pulse to be supplied by the laser that I'll be using, so that the start pulse will be exactly long enough to allow for all the data collection to occur. 

 

I have a version that works, but it does so by calculating a remainder to say at what time the start pulse should be on or off. While this work for now, I would like for the clock to be generated as a counter(so I can attach the counter to the laser later), and for the start pulse to trigger off the counter. Currently using a PCIe-6321 card.

 

Any suggestions? 

0 Kudos
Message 1 of 4
(3,261 Views)

I'm not sure I understand what you are trying to do, posting your existing code would help in understanding your application.

0 Kudos
Message 2 of 4
(3,222 Views)

Not at the office just yet, so I don't have the code I'm using. I want to make these two timing pulses based on the picture attached. I want the clock (CLK) to be triggered from the laser, eventually. I want the start (ST) to be synchronized with the clock, such that the start signal is positive for some integer number of clock pulses. 

0 Kudos
Message 3 of 4
(3,207 Views)

Hey Msosa,

 

Check out this document, I think it might be helpful. To trigger the clock from the laser, just use it as the sample clock source.

Ren H.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,161 Views)