Send files stored in memory from a client to the server to save, process, or enable access for others.
You can find the SystemLink File Transfer and Configuration APIs on the Data Communication palette in LabVIEW.
On the client, create the following diagram in a VI to send files from memory to the server.
Customize the gray sections for your unique programming goals.
Open Configuration initiates a connection with the file service on the SystemLink server.
|Create generates a writable file on the file service using the name and properties you specify.|
Within the For Loop, Send Packet transmits the file's data in packets to the file service. LabVIEW automatically numbers the packets zero-indexed sequential integers. The file service will use the packet numbering to sequentially write the packets to disk on the server after it receives the final packet.
|Send Last Packet transmits the last packet of data to the file service. After receiving the final packet, the file service sequentially writes the packets to disk on the server. After Send Last Packet transmits the last packet of data, the file is no longer writable. Therefore, you cannot send additional packets of the file to the file service.|
|Close invalidates and closes all open references.|