07-19-2013 04:51 AM
Hi Guru,
In Labview User Interface Full-Features, i can see that it have StatusBar function,
i would like to know how can i extract the data from the StatusBar and show it as string indicator?
as you can see from the attachment, how can i extract the "administrator" and put it in string indicator?
07-22-2013 09:21 AM
The status bar gets data from various locations. Usually it comes in as UI messages. However, some of it comes from the station options and in the case of "administrator" it is coming from the engine (technically a station global).
To get the current user in your UI you just need to simply call the Engine.CurrentUser property. So use your engine reference and place down a property node. Select CurrentUser as the property to get.
Hope this helps,
07-22-2013 09:31 AM
I guess that technically if you want to follow the true form of creating a UI you should use the UI Manager controls and connect a TestStand Label Control to the Application Manager. Use the ConnectCaption method and CaptionSource_UserName as the captionSource.
Something like the attachment.
Cheers,