Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter Output Application

Dear technicians
I use Ni USB 6363 (BNC).
There is an external known pulse signal that will be used to control my output of finite or continuous  pulses: when the known pulse is at a high level, my output pulse signal outputs pulses; When the known pulse is at low level, my output pulse signal stops output.
I don't want to use the 'pause trigger' and 'start trigger' functions.
I want to know how to configure the gate signal in Ni DAQ counter? I think this is possible in theory, so I want to explore it!
Have an idea: can I use DAQ's' sample clock '?

Thanks

July 23 2021 

Time_Diagram.jpg

0 Kudos
Message 1 of 6
(2,352 Views)

Under DAQmx, NI has moved away from using "gate signal" as the terminology for programming a data acq task.  The terminology is now more *functional* in nature rather than focused on names for the low-level counter I/O pins.

 

A "pause trigger" IS a gating signal.  When you configure a task to use a pause trigger, the pause trigger signal is connected to the low-level GATE pin of the counter.  Pause-triggering is just new terminology applied to the long-time supported functionality of "gating" a counter's output according to the digital state of some specified signal.

 

Otherwise, please carefully review this previous thread of yours where I've already given many suggestions.  If they aren't working, please take the time to explain your whole situation much more thoroughly as previously requested.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.
0 Kudos
Message 2 of 6
(2,260 Views)

According to Wikipedia, in digital logic and computing, a Counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship to a clock signal. Counters are used in digital electronics for counting purpose, they can count specific event happening in the circuit.

0 Kudos
Message 3 of 6
(2,170 Views)

Thanks again !! >> liteblue

0 Kudos
Message 4 of 6
(2,139 Views)

Hello, Mr. Kevin ,
I am using the counter for PWM pulse output.

Because the pulse frequency is high and aperiodic, I use on-board memory.
My DAQ is usb 6363 (BNC). There are four counters (counter 0 / 1 / 2 / 3), and Every FIFO memory size of each counter is 127.
However, I need to generate more than 127 aperiodic pulse signals.

I am considering whether I can use all the board memory of all counters in a way to store my pulse data?That is, can 127 * 4 = 508 pulses be output ?

To make 4 counter FIFO to consist of a bigger FIFO?

If you can not understand my description  ,please view the PPT,

0 Kudos
Message 5 of 6
(2,055 Views)

I've had this thread queued up for a while, hoping to be able to give a more thorough answer.  I don't think I can really do that though until you provide more info.   Please describe a *lot* more detail about the system overall, what the signals are *from* or *for*, what kind of timing requirements you need to meet, etc.  And further, for each "ON" period, do you want to repeat the same sequence of variable freq output pulses?  Or do you have one long list of these frequencies that just happens to be broken up by the pause trigger signal (a.k.a. the "gating" signal).

 

The details matter.

 

Meanwhile, no, I'm quite sure there's no way to combine those 4 counter FIFO's into 1 so that you can store 508 samples onboard when using only 1 counter.   You only get 127.   What's the frequency of the yellow pause trigger signal?  How many distinct pulses do you need to generate during each ON interval?

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.
0 Kudos
Message 6 of 6
(2,028 Views)