03-23-2012 10:20 AM
I'm having an interesting problem. I'm running a timed loop in Labview 2011 that turns a voltage signal from low to high and back to low at a set rate using a timed loop. The first time the loop is executed, the voltage behaves as expected. Subsequent iterations of the loop will only produce a short (~50 microsecond) high signal. The high signal turns on when it is suppose to, but just refuses to stay on the high level. The loop timing is controlled with an on-board clock from a PCI-6602 card using the Create Timing Source node from DAQmx. If the loop timing runs off the internal clock (1kHz) then the program runs as expected, but I'd like to compare an acquired signal and the high voltage times with the 80 Mhz clock.
I've attached the code giving me problems. I've also tried using the Frequency Create Timing Source instead of the Digital Edge Counter Create Timing Source node, but received the same result. Thanks for any direction you can give me.
03-23-2012 02:33 PM
Is it possible the problem is simply that the "250" isn't actually wired to the next frame start? As a result, the second frame runs immediately after the first frame, which means you'll get a very short pulse. I'm not sure why it works on the first iteration, though.
03-23-2012 03:43 PM
Whoops! Actually we tried different wiring configurations with the timing, I just forgot to rewire that block before posting it. Even with everything wired correctly the problem persists.