03-29-2023 12:26 AM
I have a GUI. Upon user request by pressing button on GUI of labview, I need to transfer excel file stored on some drive in PC to another device through LAN....how to do this?? what is the use of Labview webserver?? does it communicate with another labview application or it can transfer data with any other app?
03-29-2023 01:41 AM
Lots of possibilities. A couple of questions:
- Does the excel file need to be sent to an application running on the other system or just end up on the hard drive of that system
- What is the remote system, a Windows/Linux PC I am guessing
Possible ways of doing this:
- Share a directory on the remote PC over the network. This can be mapped as a network drive or added as a folder to your local PC, you can then get your software just to copy the excel file into it https://support.microsoft.com/en-us/windows/file-sharing-over-a-network-in-windows-b58704b2-f53a-4b8...
- Run an FTP server on the remote PC and then FTP it from your local machine (There are LabVIEW libraries for using FTP)
- Implement your mechanism for sending the file via TCP if the file needs to end up in an application running on the other PC