beautypg.com

Openname – Measurement Computing Personal488 rev.3.0 User Manual

Page 105

background image

Personal488 for Windows 95/98/Me/NT/2000

04-10-01

API Reference 6-37

OpenName

Syntax

DevHandleT WINAPI OpenName(LPSTR name);

name

is the name of an interface or external device.

Returns

-1

if error

otherwise, the device handle associated with the given name

Bus State

None

Examples

dmm = OpenName(“DMM”);

Opens the external device

DMM

dmm = OpenName(“IEEE:DMM”);

Specifies the interface to which the external

device is connected

See Also

MakeDevice, Close

The

OpenName

command opens the specified interface or external device and returns a device handle for

use in accessing that device.

This manual is related to the following products: