03-04-2016 04:19 PM
Hi guys i need help with my application. I need to ensure connection between my phone and PC via USB , then open explorer with files and folders, wich are in the phone, mark it and backed up and choose duties imposed . Something like in this video just in LabVIEW.
Can you help me? I am a beginner in LabVIEW so please consider.
Thank you.
Solved! Go to Solution.
03-06-2016 01:51 AM
03-06-2016 07:48 AM
It is very simple to do it in LabVIEW, after you connect your Android phone it will just work like a USB pendrive location. I think you have to manually enable USB drive mode on Android phones (at least on my phone) so it can act as an attached disk. I do not know if you could automatise this step, or not?
You can use the following functions in LV to move, create, delete, etc. files and folders:
http://zone.ni.com/reference/en-XX/help/371361M-01/glang/advanced_file_functions/
However, why you want to re-invent the wheel? Why to spend time to program such features in LabVIEW? There are many applications which you can install for free under Windows, and they have sophisticated back-up features too, which would involve quite some work to program in LabVIEW (like different backup/sync options: echo, synchronise, contribute...).
An example i use often and free: https://www.microsoft.com/en-us/download/details.aspx?id=15155
@Hatef: "in labview if you want to work with mobile device you should use data dashboard and it relative tools otherwise you can just use your mobile device with usb in labview "
This is not true. There are lots of other options to interface a mobile phone with LabVIEW, not only the product Data Dashboard. Besides, the OP asked for a functionality which has little to do with Data Dashboard, so why mention it?
03-06-2016 10:27 AM
03-06-2016 10:46 AM
@Hatef.fouladi wrote:
BLOKK
what I told is relate to mobile with android system
what do you have other methods for mobile with labview work with labview just using data dashboards and also using Bluetooth connection !!?
What you wrote is related to Data Dashboard. But the OP did not ask for such functionality like monitoring DAQ on a remote PC. The OP asked for functionality involving moving files between a PC and a phone (connected via USB, not wireless!) using LabVIEW. So I do not see the reason why you stuck to this Data Dashboard thing. Keep on topic.
Other methods? For example using any browser on any device. LabVIEW Web Services...
03-06-2016 11:53 AM
03-06-2016 12:00 PM
@Hatef.fouladi wrote:
could LabVIEW Web Service provide you any access to mobile device storage data or mobile sensors information?
but about why I talk about the Data Dashboard, because when beginner in LabVIEW talk about labview code and mobile, they think that labview code generate code in apk format and for android
it is my experience when I answer for these people they know about Data Dashboard but do not have good information about it
Yes, you can create web service so you could have options to upload files to a server for example. You do not have access to sensors, but the OP did not ask about sensors. I am not really familiar with Data Dashboard, but as much as I know, you cannot transfer files using it...
Anyway, it is nonsense to argue about these unrelated things, since the OP asked about how to move files between phone and PC using an USB cable. Period. 🙂
03-06-2016 12:26 PM
03-06-2016 12:33 PM
Sorry Hatef, but Blokk is correct on this.
The OP wants to know how to move files. Data Dashboard has nothing to do with this. Any discussion about it is just a huge distraction for what thge OP wants to do.
I'm not saying your message is wrong. Just that it is correct information to a completely unrelated question.
03-06-2016 01:01 PM