06-29-2015 05:54 PM - edited 06-29-2015 07:29 PM
@jamesy777 wrote:
They aren't initialized becuase i didnt know they had to be. I'm guessing I wire up indicators with defaults set to 0 ?
I also have a typo ( Uint32 references should be called Uint16)
If they are not initiaized, they remember the last value from the previous run (in the same edit session). Just right-click the left SR and "create constant".
Here's a very stripped down version just showing how the conditional tunnel works. (Note that "index array" is resizable).
06-29-2015 06:21 PM
Thats definitely a neater solution, Now that the UINT8 data is in a seperate Special array i need to look at each row and start to assemble the TEMP_A/TEMP_B names and associated shared variable links.
Are shift registers the way to go here? Looking at the huge input excel it looks like all UINT registers are written like:
4
8000 0004
5
8000 0005
So maybe i could use the "Special" array as an input to some kind of autoindexing for loop which will pick out every 2 rows in the special array and assemble the uint16 message names and locations.
Any ideas?
James
06-30-2015 03:21 PM
Heres my attempt attached, my problem is how to append an additional row to an array using an auto-indexed for loop.
This VI gives me :
A
B
CB
D
E
FE
I want
A
B
AB
C
D
CD
I'm sure there is a simple solution.
James
06-30-2015 03:37 PM - edited 06-30-2015 03:39 PM
07-01-2015 05:44 PM
Thanks, the concat option on the outout tunnel was really useful. Its working great now.
James