LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

text color in subVI

I'd like to change the text color in main front panel which was used in subVI.
To make simple my question, I'm attaching 2 VIs (Version 6.0).
 
0 Kudos
Message 1 of 5
(2,860 Views)

Could not exactly understand your query

And only one vi is attached

Message 2 of 5
(2,846 Views)
In subVI (Property Text Color_subVI.vi), it has a text color property node changing a color (blue or red) - pls see the previous attachment.
I created main VI (Property Text Color.vi) and called up the subVI in it - I'm attaching this VI.
In main VI, I'd like to see the text color property node changing the color.
Hope it clears.
0 Kudos
Message 3 of 5
(2,836 Views)
You are setting the property of the indicator that inside the sub VI and not that of the indicator on the main VI
 
You have to pass a reference of the main vi indicator into the sub vi, use a property node and set its text color porperty
 
Look at attached modified vi's
 
Hope this helps
 
Regards,
Dev
Download All
Message 4 of 5
(2,830 Views)
Thanks a lot~!!!Smiley Very Happy
0 Kudos
Message 5 of 5
(2,823 Views)