06-06-2008 04:59 AM
06-06-2008 05:05 AM - edited 06-06-2008 05:06 AM
06-06-2008 05:34 AM
06-06-2008 05:38 AM - edited 06-06-2008 05:39 AM
Hi achille,
i can´t see it. Can you upload your example?
Mike
06-06-2008 05:49 AM
06-06-2008 06:01 AM - edited 06-06-2008 06:01 AM
Hi achille,
ok, but where is the problem, it shows only that the "insert into array" function don´t dictate the array size. Where do you need it? One solution is to insert a case structure inside the while loop. Insert your code into the true case and an array constant into the false case. Connect a true to your case structure and you have what you want. But remember use a boolean control or a shiftregister value! If you connect a constant, then labview know that this case will never be execute.
Mike
06-06-2008 06:13 AM
06-06-2008 06:50 AM - edited 06-06-2008 06:51 AM
Another option is to use the First Call? vi under Synchronization. It will return a True if this is the first time this VI is called in memory, and a false otherwise. Then, in your True case, you can initalize the register in the while loop, and in the false you can do everything else.
06-06-2008 06:54 AM