LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using of Count Buffered Edges(DAQ-STC).vi

I'm using the Count Buffered Edges(DAQ-STC).vi for my PCI-6025E board. Understand that the counter will start count when it detects a rising edge at the gate signal.

1. It is possible to start the counter before detecting the rising edge at the gate signal.(I'm using internal timebase as the source input)

2. how to set the buffer to store the counter data into the buffer for the first rising edge at the gate signal?(assuming counter already start counting)

3. In the Count Buffered Edges.vi, there is a selection of Buffer mode. Either finite or continuous, what is the difference between the 2 mode?

Thks and best regards
lyn
0 Kudos
Message 1 of 2
(2,553 Views)
Hi,

1. It is possible to start the counter before detecting the rising edge at the gate signal.(I'm using internal timebase as the source input)

No. When you configure the counter to count events on its gate, it will start counting whenever an active edge is detected at the gate.

2. how to set the buffer to store the counter data into the buffer for the first rising edge at the gate signal?(assuming counter already start counting)


you can set the polarity of the gate signal (high to low) or (low to high). However, in event counting, the counter counts events and it will not increment unless an active edge takes place at the gate.

3. In the Count Buffered Edges.vi, there is a selection of Buffer mode. Either finite or continuous, what is the d
ifference between the 2 mode?


Finite acquisition will count a finite number of events before the acquisition stops. In continuous acquisition, all events on the gate are going to be captured.

Regards,
RamziH.
0 Kudos
Message 2 of 2
(2,553 Views)