Use the syncContainerList data type to delete containers that you no longer need. Delete containers if you want to get a new result ID. Delete containers if you required disk space.

A container is a folder on the PXI that includes the following components:

  • Test result ID
  • Step data
  • Files to upload to SystemLink

When you create a test result, you can create a container. Use the createResult command to create a container on the PXI.

Because containers can run multiple times, you can also choose an existing container for the result data. If you use the same container, the folder includes the same result ID. The folder has new steps and new files for upload to SystemLink.

The container name and the result name are the same. Use the syncContainerList data type to retain the containers that you specify. All other containers are deleted. If you do not need to reuse any test, use an empty syncContainerList data type to delete all test data.

Access the SystemLink container list using the following syntax:

systemLink:syncContainerList status = sys:systemLink:syncContainerList( list<text> resultNameList )

Example: SystemLink Container List

program

        list<text> containerList
        systemLink:syncContainerList status

        containerList:add( "container_a" )
        containerList:add( "container_c" )

        // all result containers except container_a and container_c will be deleted
        status = sys:systemLink:syncContainerList( containerList )

        if status != systemLink:syncContainerList:ok then

            sys:logError(sys:ui, "syncContainerList != ok")

        endif
... 
endprogram