LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying the drive letters of another PC connected through Ethernet

Am using two PC's connected in a network via ethernet. I want to read the drive letters (a:\, c:\, d:\, e:\, etc.....) of one PC and display in the LabVIEW application running in another PC. I searched the forum and found an example posted by tst (i think) displaying the drive letters of the same system. In my case i want to display drive letters of PC1 to LabVIEW application that is running in PC2.

 

Any ideas?

 

 

Thanks,

Mathan

0 Kudos
Message 1 of 5
(2,880 Views)

Hi Mmathan,

 

Can you provide that original post's link here?

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 5
(2,858 Views)

Dear Partha,

 

Thanks for looking into it. Actually its a thread where tst pointed out this thread in Lava having that example. Kindly have a look at it here

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

I'm fairly certain that this information is not exposed to the network, but I can think of two workarounds:

  1. Publish them yourself using a VI with a TCP based protocols (shared variables would probably do the job too). If you actually want to access them, this probably won't help.
  2. Set them to be shared (in Windows, right click and select sharing). This is potentially dangerous and you will probably need to dig into the OS to find out how find and access them.

___________________
Try to take over the world!
Message 4 of 5
(2,824 Views)
A quick Google search suggested using the .NET System.Management namespace. Something about creating a collection of Win32_LogicalDisk objects. Bound to be some security issues, though.
Message 5 of 5
(2,819 Views)