There is no trick, auto-index and array creation at the output
tunnel always work the same way. OTOH, you can store an array in a shift
register and then use append_to_array inside a case statement to switch out
the function when the input is null, but this tends to call malloc a lot
because the array keeps getting larger (LabVIEW does not know how much space
to allocate for the array before the loop starts). Also, if you are reading
the input file inside the loop, and for each call of the reader it is supposed
to return a key, you could make that vi adapt to null keys by having it get
another line.
Oh dear! If the reader ignores null lines and the last line is null then the output array will still have a null key, so it is not an ideal solution.
Message Edited by Odd_Modem on 12-23-2005 05:43 AM