10-17-2013 11:57 PM
Hi Gerd,
Even in a cluster it loses property. Pls see the vi attached.
10-17-2013 11:58 PM
Hi R,
You r LV version is 12 and mine is 8.6.. couldnt open the vi. Could you pls see the vi that I ve posted as reply to Gerd? is that what you have done? Or else could you post a screenshot?
Thanks!
10-18-2013 12:09 AM
Hi pcs82
below i am attaching the code in LV 8.6
10-18-2013 12:12 AM
@pcs82 wrote:
Even in a cluster it loses property. Pls see the vi attached.
You never set any properties for the elements of the cluster, just for the plain string indicators. You just need a little bit more code.
10-18-2013 12:24 AM - edited 10-18-2013 01:09 AM
Here's how to do it with the cluster (LV 8.6).
(You have several questionable code constructs. The sequence structure serves no purpose. Doing the array-to-cluster-unbundle dance is clumsy. All you need is a "index array" resized to the number of outputs you require. As already mentioned, you never operate on the properties of the cluster elements, so nothing will change there, of course. You have way too much duplicate code)
10-19-2013 12:17 AM
Hi all,
Thanks for all that help. Mr Altenbach is right, my code could be cleaned up a lot. Thanks for pointing out that. I ve been learning mostly by myself, and its been just a couple of months with LV.
My query has been answered. Thanks!