LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6525 and counter

Solved!
Go to solution

Hello,

 

I have some questions about USB-6525 counter (only 1 counter provided by this device). With "DAQmx Create Channel (CI-CountEdges).vi", I use the string "Dev1/ctr0" as counter name input. I think it should work normally, but on USB-6525 user guide and specifications, I have read the following lines :

 

You can configure PFI 0 (an alias to P1.7) as the source for a 32-bit counter.

In this mode, the device counts low to high transitions on P1.7.

 

P1.7+/– or PFI 0+/– Input This channel is configurable as either a digital input or

an event counter.

Digital Input Signal—±60 VDC digital input.

P1.7+ corresponds to the positive input terminal.

P1.7– corresponds to the negative input terminal.

CTR—As a counter, this signal can be used as an event

counter input source.

PFI 0+ corresponds to the positive counter terminal.

PFI 0– corresponds to the negative counter terminal.

 

So my question is : do I need to do something particular to configure PFI0 as a counter ??? Or should it work only with the string "Dev1/ctr0" as counter name input (used with "DAQmx Create Channel (CI-CountEdges).vi") ???

 

Please see attached (My VI is in fact a functional global variable)...If you want to modify it to make it work, don't hesitate ! 🙂

 

Thank you for your help...

0 Kudos
Message 1 of 3
(2,955 Views)
Solution
Accepted by topic author Julien_31

Hey,

 

First of all, this would fit better in the multifunction DAQ forum Smiley Happy

 

And No, you dont need to specifiy anything else then DaqX/ctr0. Then you connect your signal to PFI0 wich is pin 1.7 on your device.

 

 

Christian

Message 2 of 3
(2,946 Views)

Thank you very much for your help !

 

Best.

0 Kudos
Message 3 of 3
(2,941 Views)