09-07-2009 03:38 AM
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 eventcounter 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...
Solved! Go to Solution.
09-07-2009 04:33 AM
Hey,
First of all, this would fit better in the multifunction DAQ forum
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
09-07-2009 05:07 AM
Thank you very much for your help !
Best.