LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating application for archiving data from the mobile device in LabVIEW.

Solved!
Go to solution

Okay.  You don't have thousands of words that will waste the OP's time.

 

You do have minimum words, but they are still going to waste the OP's time.

0 Kudos
Message 11 of 45
(2,809 Views)

okey so you do tooSmiley Wink
my last post

0 Kudos
Message 12 of 45
(2,800 Views)
Si tacuisses, philosophus mansisses.
Message 13 of 45
(2,790 Views)

Yes of course, but i have project in my school and I need help.

Btw i think, that DataDashboard is not right way. I need some functions in Labview, which open browser if I connect my phone via usb to PC and then I can select files or folders and copy they to my PC folder.

 

You know? thank you guys for your reply.

 

 

0 Kudos
Message 14 of 45
(2,752 Views)

I believe that Blokk's original answer was all you really need to copy files from your phone when it is in USB mode, since it acts just like a flash drive in that state:



Blokk wrote:

 

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/




Highest Regards,

Paul
0 Kudos
Message 15 of 45
(2,685 Views)

Something is like this in my mind. You need to pre-specify what is the drive letter of the Phone when you connect it. There are more advanced tricks to figure out the USB device type when you connect it, but it might involve windows dlls...

Improve this example further, also handle error if user cancels browse prompts, etc...

 

Example_VIísdasdas.png

Message 16 of 45
(2,656 Views)

Blokk thank you so much, I try it. Btw i think , that it is nesseary make mass storage device from my phone, because labview i think dont find relative path to USB.

It is wrong?

 

Thanks

0 Kudos
Message 17 of 45
(2,627 Views)

Well, I have no idea what you mean about "relative path" here... Anyway, if you mean that, you need first to make your phone act as a mass storage device for the OS, yes. If Windows will see it as a drive, then you can discover it using my code. If not, my code will not recognize it obviously....Test it yourself...

Message 18 of 45
(2,614 Views)

Thanks it is working very good!! But one more question, it is possible show file dialog (files and folders) not in windows dialog but in some space in front panel of VI and with checkbox where I can mark folders and files for copy.

 

Thank you for reply

0 Kudos
Message 19 of 45
(2,588 Views)
Solution
Accepted by topic author Noro

Have a look at the example below. You need to enhance the code, like option to abort browsing, and also you need to handle possible file/folder overwrites as you need.

 

File_browser_test.png

0 Kudos
Message 20 of 45
(2,565 Views)