05-26-2009 04:17 AM
Hello,
I found an issue regarding Terminate and Abort user interface button functionality, when using Parallel model (Teststand engine version 4.1.0.228 and also on 4.0.1.f1).
Problem is that I want to invalidate these two buttons, when my application is running in production, because operators might inadvertently push them. So I created a user, with the User Manager, that doesn't have the right to terminate or abort sequences.
When logged on with this user, I observed that "Terminate Execution" and "Abort" buttons on Debug menu, and Debug Toolbar are disabled (in sequence editor), but on the user interface, these buttons (for each socket execution) are active, and they will terminate or abort a sequence, regardless of the user rights settings.
I don't know if this issue can be qualified as a bug, I tried it on three different computers, all behave in the same way, so if someone in NI can have a look on this, maybe this issue can be fixed for newer versions.
To correct this, I guess that modelsupport.dll file must be modified and recompiled, I would really appreciate if an easier solution to fix this issue, can be suggested.
Regards
05-27-2009 04:41 PM
miniMe,
Are you talking about the Terminate All and Abort All buttons on the dialog that comes up when using the Parallel model? I tested this by creating a user that only has permission to execute a sequence and I was able to click either of those buttons in the UUT Information dialog when using the parallel model. However, I was not able to break or terminate any execution straight from the user interface. I tested this in the Sequence Editor as well and saw the same behavior. I will have to confirm whether this is a bug or not, but it is a good thing to bring up.
What user interface are you using? (language, full-featured or simple, any customizations?) Is the behavior I described the same thing you are seeing?
05-28-2009 09:00 AM
Eric,
I marked with a red circle, the Terminate and Abort Buttons that are still operational, even when the user has no rights to Terminate or Abort a sequence. As I mentioned before, only in the Debug drop down menu, and Debug toolbar, this buttons are invalidated, but not on the UI dialog that comes up with the Parallel Model.
Regards
05-29-2009 02:32 PM
miniMe,
Thanks for the screenshot. After doing some testing, it does look like this is a problem with that dialog box. As you said, you can modify the code yourself for a more immediate fix. Otherwise I will be filing a bug report and the developers will look at it to determine what needs to be done. Thanks for pointing this out, it is helpful for us to know about the problems in our software so we can work on fixing them.