Ewip (26), Erst (27), Solutions – National Instruments NI-488.2 User Manual

Page 112

Advertising
background image

Appendix C

Error Codes and Solutions

© National Instruments Corporation

C-11

NI-488.2 User Manual

A

boardID

outside the range of 0–99 is passed in to a traditional

NI-488 board-level function or NI-488.2 routine.

ibconfig

or

ibask

is called with a device unit descriptor and

a board-only configuration option, or with a board unit descriptor
and a device-only configuration option.

Solutions

Do not use a device descriptor in a board function or vice-versa.

Make sure that the board index passed to the NI-488.2 call is valid.

EWIP (26)

EWIP indicates that an

ibwait

call is already in progress on the specified

unit descriptor. This error occurs when one thread within a process calls

ibwait

on a given descriptor when another thread within the same process

is already performing an

ibwait

using that same descriptor.

Solutions

Make sure that for any given unit descriptor only one thread calls

ibwait

at a time using that descriptor.

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

.

Advertising