10-22-2007 12:23 PM
10-23-2007 03:40 AM
Hi Shaun,
To route the change detection event to the counter, use DAQmxExportSignal. If you open up the function panel of this, you have the option to choose “Change Detection Event” in the Signal ID field, and PFI1 in the Output Terminal field. You can route to PFI4 in the same way.
To route the 80MHz clock, pass DAQmx_Val_80MHzTimebase as the Signal ID argument (you may have to type this in manually rather than select it on the function panel) and select PFI3 as the output terminal.
If you have tried this method of signal routing to no avail then please send me the code you are using and I will investigate further.
For the buffered event counting:
Again if you have tried this already and haven’t got anywhere please send me the code so I can see where you are going wrong.
Regards,
Ian
10-23-2007 09:17 AM
10-24-2007 10:22 AM
Hi Shaun,
Sorry for the delay. Before I talk about the counter clock, I’ve found this KB on event handling with DAQmx that may be a good reference in the future if you have any more problems with the change detection event.
http://digital.ni.com/public.nsf/allkb/DF5719473800838086256F1E0054FD7B?OpenDocument
Thanks very much for sending me your code. It’s very well documented and has made it allot easier for me to help so thanks for that. Also, after speaking with my colleagues I’ve gained a better understanding of why your code is not working:
Best of luck Shaun; hope this helps,
Ian C.
10-25-2007 11:08 AM
02-22-2008 07:00 AM
02-22-2008 12:24 PM
02-23-2008 01:50 AM