LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to count "Generate Pulse Train" pulses

hi!

i´ve got an pci-mio-16e4 plus scb68 connector block. what i want do
do is, to count the pulses generated by the daq-vi "generate pulse train"
which puts a ttl puls train signal on the gpctr-out pin.
the problem is, that if i connect that pulse signal to an counter input,
the pulse train will somehow disappear.
can someone give me an hint how to count that kind of pulse train pulses?

thnx + best regards
holger
0 Kudos
Message 1 of 2
(2,965 Views)
Hi Holger,

The best way to perform your couter operations is by adapting the shipping examples in LabVIEW. These examples will typically be found under the Help menu (Find Examples... >> Hardware Input and Output >> DAQ >> Counters >> DAQ-STC). What I would suggest is opening the example Count Edges (DAQ-STC).vi and setting the Source Specification to be Misc >> 'other counter TC'. This will effectively internally route the output of the other counter to the source of this counter. That is typically how you would route the output of one counter to another.

As for why your pulse train is disappearing, it wouldn't disappear unless you connect it to another signal that is perhaps driving a GND or high signal. You might have also connected it to the gate an
d in your program you didn't configure the gate to be a PFI line so by default it would ground the gate.

Anyway, the key is that you have to explicitly specify that you want a signal from a PFI line to be represented on the gate or source or output of a counter. Using the method described in my first paragraph should do the trick though. Have a good day.

Ron
0 Kudos
Message 2 of 2
(2,965 Views)