09-15-2008 06:04 PM
Hello,
I seem to have a couple problems using Timed Loops:
First, I put a Timed Loop that blinks an LED into the enabled case of a Diagram Disable Structure and the Timed Loop executed once, then the processor halted.
When I removed the Diagram Disable Structure, the application ran fine.
Second, I tried using the Error output and input nodes of the timed loop to propagate error from iteration to iteration instead of using a shift register. The timed loop does not execute at all in this case.
I've attached three files:
main.vi (runs as expected)
mainBadErroWiring.vi (doesn't run)
mainBadDiagramDisable (runs once)
Has anyone else run into these problems, or is this unique to me?
Any ideas?
Thank you.
09-22-2008 01:42 PM - edited 09-22-2008 01:43 PM
HI Kipp,
I will try and replicate this. I will keep you posted.
Jaidev
09-29-2008 03:36 PM
10-01-2008 11:17 AM
Hi Jaidev,
I am using an LED to indicate functionality. The LED is connected to port F4, and I use the BF Flag Toggle.vi to blink the LED. The BF Flag Toggle.vi just calles the C function "void adi_flag_Toggle(uint32_t FlagID);". I was testing on custom hardware, but the code I posted to the forum was modified to duplicate the error on the BF537 ezKit using the standard blink vi.
I understand the R&D team is working on this, so I'll wait for hear back from them.
Thank you,
Kipp