Hey mrbean,
Is your TSUI.IButton displaying with a "blank" caption, or, is it simply that it always uses one particular caption that you cannot seem to control?
I'll assume we're dealing with the latter case - if I'm mistaken, please correct me.
Furthermore, I'll assume that you're using one of the Managers to maintain your TSUI.IButton; if that's the case, the button caption is automatically overwritten by your Manager, as indicated in the
TestStand Help.
When using the ConnectCommand method of your Manager in order to associate the TSUI.IButton with a particular TestStand Command,
the "opts" input can be used to tell the Manager
not to automatically write the caption on the connected control (Value: 0x2). After this is done, you may use the Caption property of the button to programmatically set your button's caption for run-time.

...Results in...

I hope this helps!
Message Edited by DRock on
05-13-2008 10:48 AM
Derrick S.
Product Manager
NI DIAdemNational Instruments