05-07-2008 07:56 AM
05-07-2008 08:12 AM
Hi Brandon,
see the "Count Digital Events.vi" from the example finder and the attached example. ![]()
Hope it helps.
Mike
05-15-2008 08:22 AM
Hi Mike,
In your code you you have text were it says write your data to a file, which file can I write here. I'm a bit confused on this. I finally realized how to use the counter by putting the physical module in slot 5 of the cDAQ-9172. I am seeing some issues with the edge counter. I am using a limit switch for my activation of the count and when I test it out I end up reading 3-5 edge counts for 1 opening and closing of the switch. Is this normal or am I doing something wrong? Thanks for your help.
Brandon
05-15-2008 09:08 AM
coxbd316 wrote:
...
I am using a limit switch for my activation of the count and when I test it out I end up reading 3-5 edge counts for 1 opening and closing of the switch. ...
05-19-2008 08:02 AM
05-19-2008 08:21 AM - edited 05-19-2008 08:24 AM
Hi Brandon,
see the attached picture. Now only events with a time difference grater than 100 ms will be added to the file. If you need a very frequently access to the file, i recommend to store the data for some loops in a shift register and write them from time to time all together.
Hope it helps.
Mike
05-19-2008 10:23 AM
05-19-2008 01:22 PM
05-19-2008 02:28 PM
Hi Mike,
Thank you very much for your help. It looks like this is going to work for what I need to do. Just from test runs at my desk it is working great. I will try a real test next week during a line trial. Thanks again Mike.