Transferring Files from Memory to SystemLink

Send files stored in memory from a client to SystemLink to save, process, or enable access for others.

What to Use

You can find the SystemLink File Transfer and Configuration APIs on the Data Communication palette in LabVIEW 2016 or later.

What to Do

On the client, create the following diagram in a VI to send files from memory to SystemLink.

Customize the highlighted sections for your unique programming goals.



  1. Open Configuration initiates a connection to the File Service.

  2. Send uses the file name and data buffer to transmit the data to the File Service. The File Service creates a file with the file name and data buffer contents in SystemLink.

Troubleshooting

  • If your client disconnects during a file transfer, complete the following steps.
    1. Abort the file transfer.
    2. Wait for SystemLink to automatically delete the partial file transfer.
    3. After SystemLink deletes the partial file transfer, initiate a new file transfer.
    Note If a partial file transfer does not progress within an hour, SystemLink automatically treats it as an abandoned transfer and deletes it.

Examples

Search within the programming environment to access the following installed example:
  • Sync File IO