From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-10-2024 12:10 PM
I am trying to make a banner that starts when the Test UUTs is called and ends when the user stops, this banner shows information about the User Permissions about the current logged in user.
My current issue is to trigger the stopping of the VI. I want to stop the VI when the Sequence goes through the PostUUT Loop (preferably without any variable setting) (also does the PostUUTLoop call back need to be enabled)
What I am currently trying:
I am using the setting "Use Context of Calling Thread" and passing that to the VI
for the User permission:
ThisContext > Property Node[Sequence Context - AsPropertyObject] > Property Node [PropertyObject - GetValString] (StationGlobals.TS.CurrentUser.Privileges.Custom.PropertyString, 0)
This seems to work well
for Detecting PostUUTLoop
ThisContext > Property Node[Sequence Context - AsPropertyObject] > Property Node [PropertyObject - GetPropertyObject] ("Runstate.Sequence", 0) > Property Node [PropertyObject - GetDisplayNames] ("",0) this returns the name of the sequence (propDisplayName) and '...' (value display name) that called it and nothing else
I am also looking at a FileGlobal Enum for completion and Enums are not handled well let alone that I want to implement this as close as I can to be a drop in to future test sequences
All of these are within the same loop
Is there a better way to detect end of test loop from in the VI and is there any way to make a VI Click through and transparent (out of scope of the initial question)
12-10-2024 11:27 PM
If what you are doing is part of an operator interface, I'd recommend using UI Messages:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3tWCAQ&l=de-DE
12-12-2024 02:31 PM
Currently we are not using the Operator interface, long run it is a direction we want to go but I haven't been able to get the Deployment tool working.
From what I found that application manager reference only exists when running TestExec, but using the event structure with UIMessage seems elegant.