Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

generating two synchronized, finite and retriggerable pulses with different frequencies

$
0
0

Hi,

I am using a PCI 6031E card with SCB-100. I am working on generating a pulse train for a camera used in optically accessible test engine. The engine has a crank angle encoder producing pulses with freq 30-60 kHz (0.2 deg resolution, range 1000RPM - 2000RPM, is working in the attached program as source of ticks). The spark time pulse is a trigger for the camera pulse train. The pulse train should be generated for specified number of cycles (or number of trigger events). The camera should obtain a pulse train that after trigger has 20 pulses with very high frequency and after that 4 pulses with low frequency. When the engine cycle ends, the program is retriggered for next cycle. I was thinking about generating the pulses on two ctr outputs and then multiplexing it by simply joining the cables (If it would be possible to generate such a pulse on one line I would be very happy). I managed to generate the 20 initial pulses but unfortunately it is not possible to generate second pulse due to this. I was also thinking about generating the second pulse on digital output, but the card does not allow due to this. I was also trying to use a pause trigger, but the program showed error, that there cannot be a start and stop trigger (also tried with reference digital edge trigger).

 

 

Somebody have idea how to solve this problem ? I would appreciate any help.

 

In the program the trigger is attached both to PFI and digital input line. Source of ticks is the encoder

 

Thank you for support

Greg


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>