![Omega OMB-PER-488/W95 User Manual Download Page 83](http://html1.mh-extra.com/html/omega/omb-per-488-w95/omb-per-488-w95_user-manual_4058772083.webp)
Personal488 User's Manual For Windows 95 and Windows NT
API Command Reference 77
MakeDevice
Syntax
INT WINAPI MakeDevice(DevHandleT devHandle, LPSTR name);
devHandle
refers to an existing external device.
name
is the device name of the device that is to be made and takes the configuration of the
device given by
devHandle
.
Returns
-1
if error
otherwise, the
DevHandleT
of the new device. Note that the new device is an exact copy
(except for the name) of the specified device as it currently sets in memory and not in
the Registry.
Mode
Any
Bus State
None
Example
dmm = MakeDevice(scope,"DMM");
BusAddress(dmm,16,-1);
Create a device named
DMM
, attached to
the same I/O adapter as
scope
and
set its IEEE 488 bus address to 16.
See Also
MakeNewDevice, KeepDevice, RemoveDevice, OpenName, Close
The
MakeDevice
command creates a new temporary Driver488 device that is an identical copy of an
already existing Driver488 external device. The new device is attached to the same I/O adapter of the
existing device and has the same bus address, terminators, timeouts, and other characteristics. The
newly created device is temporary and is removed when Driver488 is closed.
KeepDevice
may be
used to make the device permanent. To change the default values assigned to the device, it is necessary
to call the appropriate configuration functions such as
BusAddress
,
IOAddress
, and
TimeOut
.
Summary of Contents for OMB-PER-488/W95
Page 1: ......
Page 4: ...ii Personal488 User s Manual For Windows 95 and Windows NT Notes...
Page 38: ...32 Personal488 with GP488B Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 52: ...46 Driver488 W95 Driver488 WNT Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 136: ...130 Appendix Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 139: ...Personal488 User s Manual For Windows 95 and Windows NT Index 133 Notes...
Page 142: ...136 Abbreviations Personal488 User s Manual For Windows95 and Windows NT Notes...