NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I customize the user login status indicator?

I need to change the state of this indicator for my application. Is anyone aware of some API call I can make to customize this?

Specifically, I'd like to change the text to something along the lines of "Attempting to log in."

 

See attached image for the exact element I'm talking about:

 

example.PNG

0 Kudos
Message 1 of 2
(529 Views)

Unfortunately that is linked to a caption source.  You can read more about them here: https://www.ni.com/docs/en-US/bundle/teststand/page/tsuiref/reftopics/captionsources.htm

 

Basically the status bar (which is what you sent a picture of) shows a bunch of different caption sources.  It is an activeX control and each of the panes within the status bar get linked to a different source.  That one happens to be linked to the CaptionSource_User which can be read about in the link above.

 

Some of the sources can be overridden via ui messages.  You can read more about those here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3tWCAQ&l=en-US

 

You can specifically override the progress text by sending the UIMsg_ProgressText UI Message: RunState.Thread.PostUIMessageEx(UIMsg_ProgressText, 0, "Attempting to log in", Nothing, False)

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 2
(512 Views)