NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

report teststand disable user

Hi ,

I have a question regarding TestStand and the reports.
I want to customize easily my report and delete some information such as StationID or Serial Number.
the TestReport callback contains in his parameters the StationInfo structure containing the StationID and LoginName variable...
Thes variables contains flags such as includeinreport...
Can i edit this flags with the SetFlags method to  have a report without the parameter?
My second question is:
In my interface operator i don't use the users handling. So what is the way to disable it.
Do we have to overide the callback LoginLogout in the stationcallback.seq (very bad if i have multiple OI in the same computer!)
Do i have to configure in the station option the fact that i want to log with my windows login automatically (very bad too Smiley Very Happy)
i am surprised that we cannot easily disable the login handling...and be administrator by default
I know you can programatically specify the curentuser but starting the application manager launch directly the login logout dialog box users....
I have maybe the response in my post for the second question...Configure the currentuser programmatically and use the LoginOnStart property of the application manager...

Smiley Happy
 
Thanks
I will appreciate your help!

I love TestStand
0 Kudos
Message 1 of 2
(2,920 Views)

Hi Kikou,

StationID and Serial Number are in the report header so in order to change that you'll want to override the ModifyReportHeader callback.  Then you can parse the ReportHeader parameter to find and modify what you want.  This KnowledgeBase article talks a little bit about it:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHzJCAW&l=en-US 

I'm not sure I understand your second question.  Do you want to disable user management?  If so we have another KnowlegeBase article that explains how to disable user management:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YINaCAO&l=en-US

 
Kristen
National Instruments
0 Kudos
Message 2 of 2
(2,880 Views)