Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQCard-1200 82C53 Counter/Timer software triggered strobe

Trying to generate a synchronous single pulse from a 82C53 Counter/Timer Group B counter of a DAQCard-1200. LabVIEW 6i configures the hardware with ICTR Control VI. A circuit diagram and application VI's are attached. Current VI's configures B1 counter in mode 0, but mode 4 is desired because the gate signal is supposed to control the start of counting. When counter is configured for mode 4 the output pulse is only a glitch (about 100 ns) instead of a full clock period. The counter is configured while the gate input is LO and then the counting starts when the gate is set HI by the user input. What's causing this glitch instead of a pulse? I've tried a second DAQCard-1200 with the same results,
so it doesn't seem to be a malfunction. Is there another way to generate synchronous pulses (per my diagram) with this DAQCard?
Download All
0 Kudos
Message 1 of 3
(4,035 Views)
Hello;

You are not programming the counters on the right way. You are not passing the reference in between the VIs.
I suggest you to use the Labview shipping examples at Search Examples->I/O Interfaces->Data Acquisition->Counters, as start up VI. Make sure to select the VIs starting with the 8255 or 8253 prefix.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(4,034 Views)
What is the right way? What reference? The ICTR Control.vi only has a device number input, which I understand to be fixed with system configuration.

I based my code on the "Delayed Pulse Dig Start(8253).vi" example. It is almost what I'm trying to do, except counter 1 is being clocked from another source (DAC1). Also, I'm trying to use mode 4 instead of mode 1.
0 Kudos
Message 3 of 3
(4,034 Views)