LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

IOMEGA ZIP ejection

Is there anyone that can suggest me how to force the ejection of IOMEGA ZIP
disk
from inside a program? (LabWindows CVI and/or Visual Basic, under Windows
98/ME)

Thanks in advance.

Walter Scappini

gwalts@tin.it
0 Kudos
Message 1 of 2
(2,901 Views)
Walter,
I've been 'playing' with the activeX controller wizard in CVI, and this should be able to give you the eject functionality that you require... The iomega drivers have some of their utilities available through a COM interface, the eject being one of them...
You will need to create an activeX controller library via the wizard first, and then access the functions from your CVI code.
I had a little play with this, and have attached a little bit of code that ejects a disk (I also attached the 'instrument driver files for this, but I don't know if they will be compatible with earlier versions of CVI). I'm not too sure what they refer to as a drive number, so I just put a for loop around the function that checks if a drive can be ejected... on my system the n
umber for the zip drive was 25... no idea why...
btw, I'm using the CVI 6.0 beta as the activeX wizard in 5.5 didn't work correctly with the COM interfaces I was trying to use... it maybe ok with the iomega stuff...
(the activeX server that you need to use is iomATLDrv 1.0 Type Library as listed in the activeX wizard server list)

Enjoy...

John Barlow
Download All
Message 2 of 2
(2,901 Views)