Table Of Contents

Uploading Custom Files with a VI

Last Modified: June 23, 2021

Upload custom files to Test Monitor individually or in batches using TestStand and LabVIEW 2015 or later.

  1. On the diagram, use Send File to specify a file or multiple files to upload to SystemLink.
  2. 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.
  3. Click Run to return a unique file ID for each file.
  4. In TestStand, store the file IDs using a local variable.
    1. In the Variables pane, right-click Locals.
    2. Click Insert Local and select String.
    3. Enter the file ID or array of file IDs.
    4. Repeat for each file ID or array of file IDs you want to store.
  5. Attach the file(s) to a test result.
    1. Click the test step that uploaded the file.
    2. Under Properties, click Additional Results.
    3. Click + to create a custom result.
    4. Under Name, type "NI.SYSTEMLINK.TESTMONITORFILE" (including quotes). Use this name for all additional results you add.
    5. Under Value to Log, specify the local variable you created.
Test Monitor automatically attaches the file you specified to the current test result.

Recently Viewed Topics