Object Devices
GetDeviceByID Methode


Description

CDRomDevice

Syntax

              object.GetDeviceByID(HaID, TargetID, Lun)

Part

Description

HaID

ID number of the Hostadapter to which the device is connected

TargetID

Target ID of the device

Lun

Logical unit number of the device

Remarks

This method returns a CDRomDevice or CDRDevice object depending on the selected device. If a driver is assigned to the device, a CDRDevice object is returned.

If there is no device found at the given SCSI-Address the function returns nil.