Erst (27), Epwr (28), Solutions – National Instruments NI-488.2 User Manual

Page 115

Advertising
background image

Appendix C

Error Codes and Solutions

© National Instruments Corporation

C-11

NI-488.2 User Manual

ERST (27)

ERST results when an event notification was cancelled due to a reset of the
interface.

An

ibwait

call pending in the driver returns ERST in the following

situations:

Another thread in the same process calls

ibonl

using the same unit

descriptor as ibwait.

Another thread or another process issues a board-level

ibonl 1

.

An

ibnotify

Callback may be invoked with ERST in the following

situations:

Another process issues a board-level

ibonl 1

.

Solutions

Do not call

ibonl

with

ibwait

calls still pending in the driver.

Prevent other applications from calling

ibonl

by locking the interface

with

iblck

.

EPWR (28)

EPWR results when an interface loses power. This often results when the
system goes to and returns from a standby state.

Solutions

Take all handles offline and reinitialize the application.

Quit the application and restart.

Disable standby and hibernate modes on the PC.

Advertising