Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate a single pulse - long width (>160sec)

Hello,
 
I have a DAQ Pad6052E. I want to generate a single pulse with one of the 2 counter/timer. It works for pulse width (high state) below ~160secondes. For my application I need to generate a much longer pulse width.  I want to have a pulse width >200 secondes.
If somebody can give me some advices, that would be very appreciated.
 
Thanks,
 
0 Kudos
Message 1 of 5
(3,899 Views)

How accurate must the pulse be ?

If accuracy is not critical, use a DO (digital output) of the card and generate the delay by software (set DO, wait delay, reset DO).

Otherwise, you could use an external circuit (eg SN74LS390) to divide the frequency of the counter output.

0 Kudos
Message 2 of 5
(3,895 Views)

In addition to JB's ideas, here's another one if your other counter isn't being used.

Use the other counter to generate your own custom clock.  Let's suppose it's at 1000 Hz.  Then setup the counter you really care about to use the 1000 Hz clock signal as its timebase.  This will extend your duration capability by a factor of 100.

Your duration limit is based on the ratio of count register size to timebase frequency.  Your board's counters max out at 2^24.  Your max duration is approximately (2^24 / timebase freq).  The lowest internal timebase is 100 kHz which is why you're limited to about 167 seconds.  With your custom 1 kHz clock, you'll get 100x that much.

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 3 of 5
(3,894 Views)

Thanks to both of you,

It helps me a lot.

The pulse does not need to be accurate. The most important think for me is to have a long pulse width (typically I would like the counter to stay in high state for 10mn). It is used to open a shutter. The shutter is opened when the TTL signal is high and closed when the TTL signal is low. I need the shutter to be opened for 10 minutes.

I will try your suggestions,

 

 

0 Kudos
Message 4 of 5
(3,885 Views)

With what you describe, JB's software-timed digital suggestion sounds like a clear winner.  By far it's the simplest to implement.

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 5 of 5
(3,882 Views)