03-27-2019 04:13 AM
Hi All,
Is it possible to transfer a text file, word file or an excel file from windows PC using a Labview code to Raspberry Pi 3 over a same wi-fi network?
03-27-2019 05:07 AM
Short answer is yes. What have you tried?
0xDEAD
03-27-2019 05:11 AM
I haven't tried it yet. I mean I do not know how will I accept that data on Raspberry Pi. If I write a python code for RPi, will that be able to communicate with Labview on PC? What are the other options available?
03-27-2019 05:16 AM
In the past I have just opened a TCP connection with the PI (with a python TCP server to accept the connection and receive the bytes).
FTP would be another, probably more straightforward option.
0xDEAD
03-27-2019 05:19 AM - edited 03-27-2019 05:23 AM
This SFTP library might be of use. I haven't used it so can't really comment.
https://forums.ni.com/t5/Labvolution/SFTP-File-Transfer-for-LabVIEW/ba-p/3487748
SFTP is going to be a safer option than regular FTP, but whether this matters depends on where the system is going to be deployed.
0xDEAD
03-27-2019 05:22 AM
03-27-2019 05:40 AM
@r_te wrote:
I haven't tried it yet. I mean I do not know how will I accept that data on Raspberry Pi. If I write a python code for RPi, will that be able to communicate with Labview on PC? What are the other options available?
Options besides Python? Lua, C, C++, Scratch, Forth, Fortran, Bash. Even LabVIEW probably, with a 3rd party tool.