ilter,
As for your test VI using "Count Events or Time.vi", that is not working because you are only calling the VI once. In order to get a proper elapsed time, you need to call the VI a second time as shown in the attached picture "Using Count Events or Time VI.jpg".
In order to modify the original example to use a 100 kHz timebase instead of the 20 MHz timebase, see the attached picture "Time With Counters (DAQ) - Modified to 100 kHz.jpg". The changes you need to make are circled in red.
I also meant to point out in my previous post that there is another
example on the DevZone that does the same thing (time code with counters) using the newer DAQmx driver. I would encourage you to use this example as it will make your application more supportable and maintainable in the future. By default, this example also uses the 20 MHz timebase. In order to modify it to use the 100 kHz timebase, see the attached picture "Time_With_Counters (DAQmx) - Modified to 100 kHz.jpg" To select the 100 kHz timebase in the DAQmx terminal constant, you will have to right click on that constant, go to "I/O Name Filtering" and select "Include Advanced Terminals". You will have to select "/Dev1/100kHzTimebase", and then you can delete the "/Dev1/" part.
Hope this helps!
Best regards,
Message Edited by Jarrod B. on 04-05-2006 10:10 AM