Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve counter value w/ 6036E card?

Hi,

I'm trying to get the value of the event count through counter 1 of a 6036E card, so I wired my signal to PFI3/GPCTR1_SOURCE and DGND. I couldn't get any response w/ LabVIEW (well, in fact I get "0" where I should get sth). So I tested w/ Measurement & Automation and found that the count value was shown on both PFI2/CONVERT and PFI4/GPCTR1_GATE (it doesn't matter if I choose Counter0 or Counter1 to be read).

Is it normal? If so, how can read this value w/ a VI?

Thx for your help,

Nicolas
0 Kudos
Message 1 of 3
(3,568 Views)

Hi nicolas,

Your signal must be connected to the source of your counter if you want to count the events.

Does it works with WAX or not ?

With LabVIEW have you tried the exampel entlited "Count digital event.VI" Go to Help >> Find examples . Select Hardware I/O >> DAQmx  >> counter .

Regards

Alexandre D

 

0 Kudos
Message 2 of 3
(3,561 Views)
Sorry for being so late but I couldn't post anything until now.

Thank you for your answer. I didn't modify the right example Smiley Sad and now it's working just fine (but I still don't understand why I get the value at the Gate pin???).

Nicolas
0 Kudos
Message 3 of 3
(3,526 Views)