beautypg.com

Close – Measurement Computing Personal488 rev.3.0 User Manual

Page 76

background image

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

04-10-01

API Reference 6-8

Close

Syntax

INT WINAPI Close(DevHandleT devHandle);

devHandle

refers to either an IEEE 488 interface or an external device.

Returns

-1

if error

Bus States

Completion of any pending I/O activities

Example

errorcode = Close(wave);

See Also

OpenName, MakeDevice, Wait

The

Close

command waits for I/O to complete, flushes any buffers associated with the device that is being

closed, and then invalidates the handle associated with the device.

This manual is related to the following products: