06-13-2013 01:32 PM
So I've been trying to set the source name for my timed loop to the 1 MHz source instead of the default 1kHz, but when I set a constant string "1 MHz" the program does not run. I was wondering if maybe my computer cannot handle that speed, I have an intel duo core with 1.6 GHz speed, so I would think it could handle 1 MHz?
06-13-2013 02:34 PM
where's your code?
06-13-2013 02:45 PM
Windows cant time 1MHz. A timed loop basically is a while loop with a Wait-command, unless external trigger is used. The smallest Wait (found in the timing palette) is 1ms, and that's very uncertain due to multitasking and task switching. (Also seen in the dT-input)
You are wiring 1MHz to the Source name. Which clock generating source is named 1MHz ... Therein lies your solution.
/Y