02-22-2010 02:37 PM
I'm new to using NI devices. I have the USB 6259 hooked up in a test setup. My code to read analog signals and write digital signals works fine but I'm having a problem with the counter & frequency functions. I can't even get the NI examples to work without timing out. If I run the NI Automation software from the same computer I can set up a panel to read incoming pulse edges on Dev1/ctr0 but the example code doesn't detect any edges.
A related question on measuring frequency using a simple counter. The example uses 0.001 for the measurement time in function DAQmxCreateCIFreqChan but an online document says when not used it should be 0.000001. Which is it? This function also time out in my setup.
Thanks,
02-23-2010 02:24 PM
Which specific examples are you looking at?
-Christina