Hi All,
I've developed a custom GUI for teststand in LabVIEW, I've now come to the point where I want to add the capability to log users in and out. So far I can log users in correctly using the following code:
This causes no errors. When I try to log users out though, I am finding whatever I try to use generates errors, I usually have error 97 "Unknown Error".
Here's the methods that I've tried in Labview:
- ApplicationMgr.Logout
- ApplicationMgr.GetCommand (cmdKind = CommandKind_Logout)
- ApplicationMgr.GetCommand (cmdKind = CommandKind_LoginLogout)
Each of the above causes an error.
I am wondering if my login code is not actually logging a user in to Teststand correctly. Any pointers?
Thanks in advance