04-04-2016 02:10 AM
I have a USB-6501 (connected to a a Ritter gas flow meter) and would like to use the counter function, in MAX the self test runs ok, the digital I/O test panel port0/line0 flashes as one would expect in the test panel. Counter I/O is unresponsive in the test panel, am I missing something?
04-05-2016 03:07 AM
Hey,
Do you mind attaching a ss of MAX test panel?
Regards,
-Natalia
04-05-2016 03:47 AM
Hello Natalia, thanks for responding, I have attached a couple of screen shots - if you need anything more specific please let me know. The test panel remins like this despite pressing start (the three dropdowns grey-out). Any help much appreciated!
04-05-2016 04:07 AM
Hey,
Thanks for quick reply, I am trying to simulate the exact device in MAX currently, could you say what path you took to access the counter?
Are you trying to acquire or generate the signal?
Regards,
-Natalia
04-05-2016 04:21 AM
I am trying to aquire the signal. Not sure I understand the path to access the counter?
04-05-2016 09:32 AM
Hey,
This got me a bit puzzled so I took the exact same module, the USB 6501.
Do you have anything connected to the pin P2.7/PFI0 that can generate a pulse? (which is where the counter ctr0 is connected to)?
Regards,
-Natalia
04-05-2016 09:52 AM
I have the white wire in P0.0 (Pin 1) should I move that to P2.7 (Pin 25 - CTR channel)? Makes sense now you mention it....
04-05-2016 09:58 AM
Hey, what is the input on this wire?
You require a physical connection to P2.7 which is pin 9 if you want to be able to count pulses.
Mind that it doesnt accept more than 5 volts.
Refere to this manual
http://www.ni.com/pdf/manuals/375267a.pdf
Regards,
-Natalia
04-06-2016 04:15 AM
Many thanks for your help, re-located the wire to P2.7 and the counter worked a treat!
04-06-2016 04:28 AM
Glas to hear! : )
-Regards,
Natalia