I have a LabVIEW utility that updates the Users.ini file with new user names and adds users to groups. After updating, the utility then calls a VI which has the ReloadFromDisk method. However, when I go to TestStand (which is open), I still get a prompt indicating that Users.ini has been externally modified.
I need to externally modify Users.ini file without getting the prompt while TestStand is open.
Any suggestions? I attached my VI.
ReloadFromDisk Method
Syntax
UsersFile.ReloadFromDisk
Purpose
Reloads the users file from disk.
Remarks
Note After reloading the user file, any references to the UsersFile.UserList property and other users will be out of date. |