LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

command that should be sent to pen drive to detect using labview

Solved!
Go to solution

hi,

I want to access my pen drive in Lab view 8.5.I tried it using VISA Read/ Write Functions.But i dont know what commnd i should send  to it so as to get reply. (I used *IDN?.....din't work)I know that PC communicates with USB device using commands or using binary commands.please tell me from where i'll get command set please.

 

 

 

Thank you

GAK

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 1 of 5
(3,224 Views)

What exactly do you mean by "access".

 

Can't you simply use plain File IO functions?

0 Kudos
Message 2 of 5
(3,219 Views)

hi,

i want to access a file from pen drive....any file.for e.g. say word file.And first i want to detect if pen drive is connected or not.

how can it be possible?  is it possible by FILE I/O functions?

 

 

thank you

gak

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 3 of 5
(3,209 Views)
Solution
Accepted by topic author Gak

With the function 'List Folder' you can get a list of all drives on your computer if you feed an empty path to it.


folder names contains the names of the folders found in the specified directory. This function sorts the folder names alphabetically. If path is an empty path, folder names contains the names of the drives on the computer.

 


Good luck,

 

 

Ton

 

 

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 4 of 5
(3,199 Views)

hi

thank you very much.It is what i needed.

 

gak

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 5 of 5
(3,179 Views)