ar_reset

short ar_reset (short board);

Purpose

This function resets the device via invocation of ar_initialize_device.  As a result, the global enable register Global Enable bit is set to disabled and the device and channel configuration registers are set to the same initial state as it is following an invocation of AR_LOADSLV.  All receive FIFO buffers will be reset and any unread data contained therein will be lost.

Parameters

Input

Name

Type

Description

board

short

(input) Device Number of the board to reference, (valid range is 0-15).

Return Value

Name

Type

Description

status

short

status of the function call, with valid values of:
ARS_NORMAL             Success.
ARS_INVBOARD         The board parameter value was invalid.

ARS_MEMWRERR        A memory test failure was encountered.

ARS_BOARD_MUTEX   Access to the Board Lock timed-out/failed.

References

Device Control Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description