NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect the USB drive letter using NI teststand

Hi

 

Please suggest me how the Teststand can be used to detect the drive letter and path?

 

Thanks in advance

0 Kudos
Message 1 of 2
(2,842 Views)

if you already have the path from using the Find() function, then you can use string function, such as Left(), to extract the drive letter from the beginning of the string.

 

if you want to detect if you have a USB drive or find where the CD drive is, then you will have to write a code module written in the programming language you have available, that is supported by TestStand.

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,839 Views)