Uploads the last packet of the file's data, which causes the SystemLink file service to sequentially write the packets to disk.

If you wired a packet number to any of the Send Packet calls, the packet number is required for the writable file reference. In this instance, the packet number must be greater than the largest number previously sent and not previously used. Each number, from 0 to the largest number, is sent to the SystemLink file service once. Otherwise, the SystemLink file service rejects the file data. If you leave packet number unwired, the SystemLink file service automatically assigns a number to each data packet.

When you call this VI, you cannot write additional data to the file to upload.

Programming Patterns
  • Transferring Files from Memory to the Server


writable file in

File you want to upload to the SystemLink file service.

data

Information contained in file you can analyze and process.

error in

Error conditions that occur before this VI runs. The VI responds to this input according to standard error behavior.

file out

File uploaded to the SystemLink file service. You cannot write to the file anymore.

error out

Error information. This VI produces this output according to standard error behavior.