LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does this VI not work?

I have a VI here, which I'm having a really hard time understanding the error which occurs when I run it. 

What it should do is loop through the indicators (they are string indicators set to transparent)  in the cluster and set the caption text to the corresponding value in the numeric array.

Can someone please explain to me why I'm getting an error? 

Thanks
Bjorn
0 Kudos
Message 1 of 7
(3,406 Views)

Hi Holomorph,

Once the caption is made visible, on each of the cluster-objects, your VI works! Smiley Happy

...but the reason for the error is: there's no Caption to change - until it's created  - by being made visible [once] first - it can be hidden after that. Smiley Wink

cheers

Message Edited by Dynamik on 12-15-2005 08:51 PM

When they give imbeciles handicap-parking, I won't have so far to walk!
Message 2 of 7
(3,403 Views)
Ah, thanks.  I thought I had the captions showing, but now that you pointed it out, I checked and it was the labels.  😛



"right, what's a cubit?"

Message Edited by holomorph on 12-16-2005 12:12 PM

0 Kudos
Message 3 of 7
(3,368 Views)
It probably will still not work, because the VI cannot be running to modify these items. 😞
0 Kudos
Message 4 of 7
(3,347 Views)



"right... what's a cubit?"

Thanks holomorph - this reminder made me smile (having forgotten most)

Guess I better get back to work, though,

("voopaah... voopaah... voopah...")

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 5 of 7
(3,338 Views)

Hi Altenbach,

      Having written an application in 7.1, that dynamically (that is, at run time) changed hundreds of captions, and having tested holomorph's example [repaired] before replying I'm pretty sure there's no problem here - what makes you say so?

 
When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 6 of 7
(3,333 Views)

Just to clarify, it does work, once I hide the label and show the caption instead; you can modify the caption text at runtime, but getan error if you try to modify the label text.

0 Kudos
Message 7 of 7
(3,319 Views)