beautypg.com

Error – Measurement Computing Personal488 rev.3.0 User Manual

Page 86

background image

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

04-10-01

API Reference 6-18

Error

Syntax

INT WINAPI Error(DevHandleT devHandle, BOOL display);

devHandle

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

display

indicates whether the error message display should be

ON

or

OFF

.

Returns

-1

if error

Bus States

None

Example

errorcode = Error(ieee, OFF);

See Also

OnEvent, GetError, GetErrorList, Status

The

Error

command enables or disables automatic on-screen display of Driver488 error messages.

Specifying

ON

enables the error message display, while specifying

OFF

disables the error message display.

Error

ON

is the default condition.

This manual is related to the following products: