beautypg.com

Reset – Measurement Computing Personal488 rev.3.0 User Manual

Page 116

background image

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

04-10-01

API Reference 6-48

Reset

Syntax

INT WINAPI Reset(DevHandleT devHandle);

devHandle

refers to either an interface or an external device. If

devHandle

refers to an

external device, the

Reset

command acts on the hardware interface to which the

external device is attached.

Returns

-1

if error

Bus States

None

Example

errorcode=Reset(ieee);

See Also

Abort, Term, TimeOut

The

Reset

command provides a warm start of the interface. Using Reset is equivalent to issuing the

following command process, including clearing all error conditions.

Disarm
Reset hardware (resets to Peripheral if not System Controller)
Abort (if System Controller)

Error ON

Local
Request 0
(if Peripheral)
Clear Change, Trigger, and Clear status
Reset I/O adapter settings to installed values (BusAddress, TimeOut, IntLevel and DmaChannel)

This manual is related to the following products: