06-04-2008 04:55 AM
06-04-2008 05:13 AM
Hi Liz,
you can use only one of the constants and initialize all (all with the same type) shift registers with it. Then you can create a sub vi from your for loop which change some values. See the attached pictures, please.
Mike
06-04-2008 05:33 AM
Thanks Mike,
Although I am not entirely certain I follow! Sorry. When you say I can use only one, how do I then initialize the rest from that?
Liz
06-04-2008 05:38 AM - edited 06-04-2008 05:38 AM
Hi Liz,
you can make it like this (see the picture please), the only difference is, that the array in the cluster has the same name, but you can change it to value. And then you can create a sub vi from the for loop, which change the values.
Mike
06-04-2008 05:42 AM
06-04-2008 07:26 AM
06-04-2008 07:37 AM
Thanks Lynn, much appreciated. It seems that actually getting something to work was the easy part! This is just one part of a large application I am working on and having come from a .NET background where housekeeping is practically done for you there appears to be a lot to learn. I thought it would be a good idea to seperate all the aspects up and write a seperate vi for each but now I am stuggling to put them together and they are all too big individually anyway!
Liz
06-04-2008 08:35 AM
06-05-2008 03:50 AM
06-05-2008 07:55 AM