LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

square root symbol in front panel

Solved!
Go to solution

Hi Gerd,

 

Even in a cluster it loses property. Pls see the vi attached. 

0 Kudos
Message 21 of 26
(1,040 Views)

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!

0 Kudos
Message 22 of 26
(1,040 Views)

Hi pcs82

 

below i am attaching the code in LV 8.6

Message 23 of 26
(1,036 Views)

@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.

0 Kudos
Message 24 of 26
(1,034 Views)

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)

Message 25 of 26
(1,030 Views)

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!

0 Kudos
Message 26 of 26
(989 Views)