10-08-2007 11:20 PM - edited 10-08-2007 11:20 PM
메시지가 10-08-2007 11:23 PM에 labmaster에 의해 편집되었음
10-09-2007 12:39 AM
10-09-2007 06:07 AM
I agree with Matthew.
Either:
an initialize case in your routine that you run from a higher level vi that has a constant of the same type as your cluster wired to the shift register, or
Place your cluster input into an initialize case or (data in?) case and wire it to the shift register -- this allows you to pass data into the function -- I assume you have another case that will pass the data back out!
You will always have to call your initialize case or (data in?) case first to "fill" the shift register with meaningful data before you call the cases that manipulate the array or other cluster data.
Tom
10-09-2007 08:14 AM
I have to echo Mathew's and Tom's comments.
In the interest of performance, I'd recomend keeping the array in a seperate SR so the bundle unbundle is not required.
For more info on Functional Variables you may want to look at my Action Engine Nugget.
Ben