10-27-2010 09:57 AM
I'm trying to obtain the VolumeType of the diferent drives in my computer using Labview 8.6.1.
I have found that windows stores this info in a Class named DriveInfo: http://msdn.microsoft.com/en-us/library/hkk68fty.aspx
From this class can be obtained the property VolumeType: http://msdn.microsoft.com/en-us/library/system.io.driveinfo.drivetype.aspx
Is there any solution to obtain the same information in Labview? If not what can I do?
Thank you very much.
David
Solved! Go to Solution.
10-27-2010 10:09 AM
An operation like that would require some sort of OS call. You could just call the .NET code directly, as shown in the attachment. The return value is an integer, but you can easily create a typedef enum that has the same enumerations as the DriveType enumeration.
10-27-2010 10:37 AM
Thank you very much again.
David