06-28-2012 02:43 PM
Is it possible to format the field of a string or numeric, so that the output is all asterisks or dots (like a password)?
Ideally I would like to be able to change the format (ie hide/unhide) of the string or numeric programatically from outside of the VI.
Thanks for the help,
- Troy
06-28-2012 02:54 PM
You can do this with a string but not with a numeric.
The Display Style property of a string can be used to set the password display mode.
06-28-2012 02:58 PM - edited 06-28-2012 03:04 PM
String control/indicator has a display style property, which can be set at runtime.
From the Labview help:
Sets the display style of a string object. Valid values include 0 (normal), 1 (backslash '\' codes), 2 (password), and 3 (hex). You cannot write to this property when the referenced string control has key focus.