The current driver ADriver object.
ADriver Public Const
Procedures that are included in a Driver module should use the Driver variable when they require the procedure to set or to get properties and methods that belong to the driver. Using the driver name to access the current driver object is not recommended, since the driver name may be change when configured to a different system.
The Driver variable may be used to obtain the values of properties set by the driver property pages, such as the driver interface type, its address, and more.
The following example uses the driver InterfaceInfo properties to initialize an instrument:
Procedure OnInit() : Void public
nStatus : VAL Short
{
GT64Initialize(Driver.InterfaceInfo(adriverInfoIsaIo, 0), m_nHandle, nStatus)
CheckError(nStatus)
}