Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Get the value of a control attribute set in the uir

$
0
0

Maybe this is a stupid question, but is there a way to get the value of a control attribute that has been set in the uir?

I try to explain better with an example.

  • I set the ON color for a led to VAL_RED in the uir
  • in the code I change the ON color to VAL_GREEN
  • GetCtrlAttribute() returns the current ON color (i.e. VAL_GREEN)
  • how can I get the value originally set in the uir (i.e. VAL_RED)?

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>