ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Parameter

I created a method in C# where it will connect to a SQL database. However the parameters that the method is taking in is user name and password. I am wondering if NI TestStand do support flow developer to create a parameter where when upon running the TS flow, user enter the password, it will automatically in encrypted (eg, ****) instead of showing out the actual password for security purposes. Thanks in advanced.

0 Kudos
Message 1 of 2
(3,416 Views)

Hey faithict,

 

To accomplish this, you could use an Action step and write a code module in the language you're familiar with. For example, in LabVIEW you could use a string control, set the display type to "Password", and simply have the code module return that password value. It's not possible to do this with a TestStand Message Popup, but it can be easily done with external code.

0 Kudos
Message 2 of 2
(3,390 Views)