LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

ARM Timed Loop

I Tryng to set a timed loop source interupt in labview 2009 (evaluation version)....

my arm platform is MCB2300 and i wont to speed up the main loop under 1 ms.

Can anybody help me?

Mattia Nardi
0 Kudos
Message 1 of 5
(7,904 Views)
Maybe I don't uderstand correctly your question but I suggest to you to change the "Loop Timing Source" of the timed loop and select another source type faster than 1MHz. Is this what you need?
D. Beninato
0 Kudos
Message 2 of 5
(7,890 Views)

thank you Daniele;

my question is,, is possible to execute a timing loop faster than 1ms (with timing source eg. interupt timer, other) on mcb 2300 ARM board;

i is possble, wath are the ways?

can you hel me?

 

 

Regards

Mattia Nardi
0 Kudos
Message 3 of 5
(7,884 Views)

I have not a Keil MCB2300 so i don't know but you can try! If you can select another timing source you can go faster than 1kHz

 

Timing Source.png

D. Beninato
0 Kudos
Message 4 of 5
(7,875 Views)

As you already figured out interrupts are the only way.

You can see more here, (but somehow obsolite) http://zone.ni.com/devzone/cda/tut/p/id/7063

 

More about the new feature you could find in the Keil example: <LabVIEW 2009>\examples\lvemb\ARM\MCB2300\Interrupts

Timers can be configured to trigger some processing in less then 1 millisecond, for example 200us:

 

 manage interrupts.PNG

 

If you want array or string in the interrupt VI then you have to check "thread". If not, notice that ISR is faster.



However, remember time is an important resource

0 Kudos
Message 5 of 5
(7,861 Views)