Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

generate a long pulse with a different source clock

I have configured the 6601 to generate a 1khz train on Ctr0
I would like to feed this into the source of Ctr1 to generate pulses of longer duration.
 
I use the command DaqmxCreateCOPulseChanTicks to set up my pulse train on Ctr1.
 
It works if I leave the source terminal as Null "", but it does not work if I change the source.
To change the source, I have wired ctr0 output to the source of ctr1 and use the label "dev1/PFI39" as the source terminal and have tried "dev1/ctr0Output".
 
I am using Visual Basic 6.
 
What am I missing?
 
 
0 Kudos
Message 1 of 2
(3,203 Views)

Hi,

Are you receiving any errors when you use anything except null as your source or is the counter simply not outputting anything? Also, have you tried using "Dev1/ctr0internaloutput" as a source as well?

Regards,
Hal L.

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