LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV Code challenge: How to realize the function of auto un-plug the USB Flash Disk by calling API of WinXP?

Pls use version6.1!
0 Kudos
Message 1 of 5
(2,842 Views)
That's not a LV code challenge. That's a windows code challenge.
You can call windows API functions by using the Call Library Function Node. You can find several tutorials for working with DLLs on this site. You can start here.

If you don't know how to work with USB devices in windows, then your problem is more basic. You should look for info about that first. You can try starting here.
I hope this helps.

Message Edited by tst on 05-13-2005 01:47 PM


___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(2,833 Views)
Dear tst:
of course, i know the two advise you mentioned. Otherwise i will not put my question here. But i am not succeed. So i need the help just like the expert like you!
0 Kudos
Message 3 of 5
(2,818 Views)
I'll take a stab at it if you send me a USB flash drive to experiment with.;) Seriously, the best experts on windows api functions is at Microsoft's MSDN (though for some reason, I can't connect to it right now). There's also a bunch of comp.os.ms-windows newsgroups.
0 Kudos
Message 4 of 5
(2,800 Views)


@shenzhengpib wrote:
Dear tst:
of course, i know the two advise you mentioned. Otherwise i will not put my question here. But i am not succeed. So i need the help just like the expert like you!




While it's nice to be regarded as an expert, I must tell you that it is definitely not "of course" that you know these things. You only wrote that you want to unplug the disk. You didn't say what your level of knowledge is and which things you already tried. Anyway, like Dennis (and my last link) said, this question is a windows question, so you stand a much better chance of getting an answer in a place that specializes in windows.

If you've managed to find the way to do this, but you have trouble implementing it in LV, then coming back here would be a good step. Also, if you find the way to do this, it would be nice if you posted an update here, in case anyone comes looking this in the future.

___________________
Try to take over the world!
0 Kudos
Message 5 of 5
(2,779 Views)