Create rules to move files on your SystemLink server so other applications, such
as Data Indexing and Data Navigation, can access the files directly. When
you move files from your SystemLink server to another location, you can no longer access
them from the SystemLink server.
Before you can move a file on the server, you
must transfer files to your server.
You can transfer files programmatically or
Transfer files with the File API in
LabVIEW. Refer to Transferring Files to the Server to learn
Transfer files with the HTTP API.
Refer to the File Service HTTP API documentation to learn more.
- Transfer files with the Python API. Refer to the Python API documentation to
- Manually upload files in File Viewer.
In NI SystemLink Web Application, in
File Viewer, click
Enter a name for the rule and select the default destination to move the file
To change the default destination, launch
NI SystemLink Server Configuration on the server and click
FileMoving. Click Browse
to locate and set the default destination. To create a new destination, you
must add a configuration JSON file to C:\ProgramData\National
Instruments\Skyline\Data\FileMoving on your server.
Specify a relative path. This is a path that uses the properties of the file to determine where the file will move.
An example relative path is
<Month>\<Day>\<Year>, representing the creation date of the file. This relative path will create folders within the root path that correspond
to the specific month, day, and year values of the files. The following is a list of properties you can use as placeholders
in relative paths.
Property placeholders are case-sensitive.
In addition to these properties, you can specify a relative path using any custom property you define for files in
Specify whether you want to move the file from one location to another or copy the file to the new location.
If more than one rule applies to a file, and at least one rule specifies to delete the original file, the file service applies
all other rules before deleting the file.
Specify whether you want the rule to replace invalid characters in file path names with underscores.
Specify how you want the rule to work if there is a conflict; for example, if a file of the same name already exists in the
Rule Matching Metadata for the file moving rule.
Rule Matching Metadata refers to any values you want the file service to search for to determine which files to move. If a file's metadata matches
a value you specify, the file service moves that file.