From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide data in custom step so that test developer can't modify it in any expressions

Hi

 

I'm trying to create a custom step where I have few set of data which test sequence developer can edit in TestStand (using pre-expression), but I also have other set of data which test developer should not be editing from TestStand (forbid in TestStand).  How can I achieve this?

 

Usecase,

  1. Test developer configure the custom step with Edit VI.
  2. Edit VI saves the configuration to the step (like Step.Properties).
  3. Then on top of it test developer edits the same configuration in his pre-expression, which is causing workflow confusions.
  4. Finally when he runs the sequence, it confuses which configurations is running and which is not.  Whether one selected in Edit VI or one given in pre-expression.

 

Thanks,

AJ

 

Thanks,

Ajay.

--
Ajay MV


0 Kudos
Message 1 of 2
(1,017 Views)

Hello Ajayvignesh,

 

You can add custom data to the custom step in Types window.

If you added the custom data,  then right click on it, you can select Properties, select Advanced, the you can select the Flags for PropFlags_Hidden and PropFlags_HiddenInTypes.

If you have in TestStand the property unchecked to Show hidden properties, then these will be unvisible for the user.

 

bigyo

0 Kudos
Message 2 of 2
(974 Views)