This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronise TTL pulse train with scan engine

I would appreciate some assistance on how to generate a TTL pulsetrain that is at the same frequency and synchronised with the NI-9074 scan engine scan period.

 

The purpose is to synchronise sampling on an external item of equipment with analogue sampling on the NI-9074. Analogue sampling on the NI-9074 is synchronised with the scan engine and is at a rate of 32Hz.

 

At this point my attempt is shown below but this gives a pulse train frequency of 16Hz, ie the scan engine frequency divided by two. I can understand why this happens but I cannot see a simple modification that will give a pulse train of 32Hz.

 

Best regards,

nos

 

0 Kudos
Message 1 of 3
(2,450 Views)

If your loop is running at 32 Hz and you toggle the out each itteration you will get a pulse train at 16Hz (16 on cycles 16 off).

2 options, double your loop rate or do a pulse(On-Wait-off) on each itteration.  You will have to know the cycle wait time (which you can get by looking at the timing between the cycles for your wait.   This assumes that your 32Hz is constant however.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 3
(2,442 Views)

Paul,

Thank you for your suggestion, which gives the required performance.

 

Prior to your response I hadn't thought properly about what was needed, in that all that really mattered was the interval between pulses rather than the pulse train having a 50% duty cycle.

 

Best regards,

nos

0 Kudos
Message 3 of 3
(2,434 Views)