10-15-2010 04:41 AM
Dear readers,
I have encountered a problem while trying to use a Feedback node in my ARM application. Whatever i do, the output of the feedback node on the ARM (LM3s8962) is always zero. When replacing the feedback node with an uninitialized shift register there is no problem. I have attached an image to clarify my point.
The solution would be to rewrite all the code that contains a feedback node to use shiftregisters instead, but this time wise not really an option and i would like to know if i have overseen something that prevents the feedback node to work on an ARM-core.
A second problem i encoutered was when trying to use feedback node in a functional global. That doesnt work either, as is expected from the above problem.
When i tried several alternatives to mimic the functional global i tried using a local variable to store and retrieve that data, but this also gives me zero in return. Why is that? I thought that Labview keeps the values in memory during runtime and here the local variable seems to reinitialize to zero every time. I attached an image to clarify my problems.
Tested on: Labview 2010 + ARM toolkit, uVision 4 on an LM3s8962
I Tried the above examples with several options when to allocate and deallocate the memory.
I hope if someone can explain me what i do wrong.
With kind regards,
Joost de Hoogh