Uploading Custom Files with a VI
- Updated2025-11-26
- 1 minute(s) read
Upload one or more files using TestStand and LabVIEW 2015 or later.
- On the diagram in LabVIEW, use Send File to specify one or more files to upload to SystemLink.
-
Create one output for each file ID you want to return. To upload many files, create an array output for the file IDs you want to return.
- Click Run to return a unique file ID for each file.
-
In TestStand, store the file IDs using a local variable.
- In the Variables pane, right-click Locals.
- Click Insert Local and select String.
- Enter the file ID or array of file IDs.
- Repeat for each file ID or array of file IDs you want to store.
-
Attach the files to a test result.
- Click the test step that uploaded the file.
- Under Properties, click Additional Results.
- Click + to create a custom result.
-
Under Name, type
"NI.SYSTEMLINK.TESTMONITORFILE" including quotes.
Use this name for all additional results you add.
- Under Value to Log, specify the local variable you created.