07-11-2005 04:12 PM
07-12-2005 01:14 PM
07-12-2005
09:31 PM
- last edited on
05-29-2025
08:59 AM
by
Content Cleaner
Hi,
The Count Events Easy (DAQ STC) example was not configured to have PFI 0 as the counter source. I was able to use this example with an E Series card using Pin 42 (Counter 1 Source) and Pin 37 (Counter 0 Source). There are some newer counter examples in the LabVIEW example finder. I am attaching a counter example from the LabVIEW Example finder. This example gives you a few more options including setting source PFI line. Try this example and please let me know if you have any problems.
I also want to make you aware that your application would be much simpler if you use the DAQmx driver. Here are a couple of links with more information about DAQmx:
Answers to Frequently Asked Qustions about NI-DAQmx and Traditional NI-DAQ (Legacy)
Regards,
Hal L.
07-13-2005 03:59 PM
07-13-2005
07:10 PM
- last edited on
05-29-2025
08:59 AM
by
Content Cleaner
07-14-2005 09:17 PM
07-14-2005 09:20 PM
07-15-2005 01:32 PM
07-15-2005 06:00 PM
Hello Ian,
I took a look at the last VI you posted and you are going run into problems with windows (assuming you are using windows) causing the loop to iterate with a different time always. One thing that may help somewhat is to change the wait VI to the wait until next ms multiple VI. I think that this <a href="http://digital.ni.com/public.nsf/websearch/12B2EA9AD5B265AD86256257004DD8E2?OpenDocument">Knowledgebase</a> does a nice job explaining why you want to use this VI instead. How small of a time bin are you trying to specify? You really can't get faster than 2 or 3 ms loop iteration from windows.
Let me know if this change helps at all,
Laura
07-15-2005 07:10 PM