11-19-2013 10:16 AM
I'm trying to transfer an array from the host LabVIEW program down to the real-time target on a cRIO.
I'm setting up a controlled loop that transfer the values one by one via Shared Variables.
This works fine when I run under Highlight Execution.
However, if I let them both run at full speed, something goes wrong
and the size of the array doesn't end up correct at the target.
Is there some tricks on how to transfer arrays down
from host to target, or any other traps I should be aware of when
working with a real-time target ?
And yes, I never have taken the RT course, so there could be vital info I'm missing.
Martin
Solved! Go to Solution.
11-19-2013 10:39 AM
11-20-2013 03:16 AM
GerdW
It seems I have misunderstood something. I thought I had to Enable RT FIFO on all shared variables that was used between the Host computer and the RT Target, something that makes it impossible to use parameters without predefined size (arrays, string etc). But it seems I was wrong, I just tested now without RT FIFO enabled, and that worked fine.
Thanks.
Martin