beautypg.com

Makedevice, Makenewdevice, Makedevice makenewdevice – Measurement Computing GPIB-488.2 User Manual

Page 37: Syntax, No equivalent commands

background image

GPIB 488.2 Porting Guide

986992

IOtech to Associated MCC APIs

3-19

IOtech GPIB Commands

Associated MCC GPIB 488.2 Command(s)

MakeDevice

MakeNewDevice

No Equivalent Commands

Syntax

MakeDevice

INT WINAPI MakeDevice(DevHandleT devHandle,

LPSTR name);

MakeNewDevice

DevHandleT WINAPI MakeNewDevice(LPSTR iName,

LPSTR aName,BYTE primary,BYTE secondary,TermPT

In,TermPT Out,DWORD timeout);


Usage Notes

The MakeDevice command, no longer to be used, created a new temporary Driver488 device
that was an identical copy of an existing Driver488 external device. The new device was
attached to the same I/O adapter of the existing device and had the same bus address,
terminators, timeouts, and other characteristics. The newly created device was temporary and
was removed when Driver488 was closed.

MakeNewDevice, no longer to be used, was similar to the MakeDevice function except the
new device was created based on specified parameters.
Similar functionality can only be achieved by coding efforts, of such magnitude, that they are
beyond the scope of this document.
.