Upload custom files to Test Monitor individually or in batches using TestStand and LabVIEW 2015 or later.
-
On the diagram, use Send File from the Skyline palette to specify a file or multiple 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 local variables.
-
In the Variables pane, right-click Locals.
-
Click Insert Local and select the type of variable you want to create. For a single file ID, select String. For multiple file IDs, select .
-
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 file(s) 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.
Test Monitor automatically attaches the file you specified to the current test result.