LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search cdrom drive

how to find
what is cdrom's drive

thanks in advance
thandal
0 Kudos
Message 1 of 6
(2,938 Views)
If you go to
http://www.users.globalnet.co.uk/~pseudo/downloads.html
and download windows_api_1.0.zip, you can use 'Get All Drives Info.vi' or 'Get Drive Type.vi' to determine which drive is a CD-ROM.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 2 of 6
(2,938 Views)
hi
thanks for reply
i downloaded the file..but unable to open it
can you send me these vi

tandal
0 Kudos
Message 3 of 6
(2,938 Views)
" .... i downloaded the file..but unable to open it"
Unable to unzip it? or unable to open windows_api_1.0.llb after unzipping?
What version of LabVIEW do you have?
windows_api_1.0.llb was done in LV v5.0.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 4 of 6
(2,938 Views)
hi,
i am unableto open it after unzip..
i have "Labview 7 student "
suggest me something..

tandal
0 Kudos
Message 5 of 6
(2,938 Views)
"i am unable to open it after unzip.. i have "Labview 7 student "

Do you get any sort of error message when you try to open it?
It's possible given the intended purpose of the student version that it can't open VI's from earlier versions of LabVIEW. If that is the case, I can't help you with getting an updated version of windows_api_1.0.llb because I only have LV v6.1.

"suggest me something"

You could use LabVIEW's Volume Info function and check for drives with 0 bytes free as described by mikeporter in
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000064460000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=detect+CD&USEARCHCONTEXT_QUESTION_S=0

It's
not as bulletproof a method as the other (I think it only works if there's a CD in the CD drive), but it's something. Since you may not be able to open his demo, I'm attaching a screenshot.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 6 of 6
(2,938 Views)