LabVIEW will warn the user when opening VIs that have “Run when opened” behavior:
The intention is to protect users from malicious code disguised as examples. Note that LabVIEW will not prompt for VIs in “trusted” locations such as the LabVIEW folder.
great that NI recognizes this problem and implements countermeasures 🙂
- will it also be possible to add new folders to the trusted locations?
- will it be possible to completely turn off this feature (LabVIEW.ini tokens ?)
Background: my CI build tool-chain runs a vi from console (not using LabVIEW-CLI yet since my build tools predate these recent developments)
Or I finally might have to rework my CI build tools ...
There is an INI token that disables the dialog completely, and this will be accessible via Tools»Options in the release (but this setting isn't in this Beta).
We aren't currently planning to add trusted folders; however, you can add specific trusted VIs.