Additional Information
SystemLink Client deploys and uses salt to communicate between clients systems (salt minions) and the server-side SystemLink™ application (salt master). The salt software layer reads the grains file periodically but not regularly, caching that information in its global __grains__ variable. The grains file in the SystemLink Client context is stored at:
C:\ProgramData\National Instruments\salt\conf\grains
If you manually edit the grains file, those changes will eventually make it to the __grains__ variable, causing the asset tag updates to resume, but in many cases that can be hours later. If you want to force salt to read the grains file and fill the variable, you can run the following command in a DOS shell with administrative privileges:
"C:\Program Files\National Instruments\Shared\salt-minion\salt-call.bat" saltutil.sync_grains
Here's an example of a grains file created by STS Maintenance Software, versions 26.0 or earlier:
productname: NI STS T4
serialnumber: FDA4C1
manufacturer: National Instruments
Here's an example of a grains file that has its correct workspaceId information added back to it:
productname: NI STS T4
serialnumber: FDA4C1
manufacturer: National Instruments
systemlink_workspace: 136c415e-7c0d-22b3-8fa2-fb071da1a60b