EasyManua.ls Logo

abaco systems CEI-520 - Ar_Getnextt

Default Icon
191 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program Interface Library AR_GETNEXTT
CEI-100/CEI-200/CEI-x20 User’s Manual 98
AR_GETNEXTT
CEI_INT16 ar_getnextt (CEI_INT16 board, CEI_INT16 channel,
CEI_INT32 *destination, CEI_INT32 *timetag);
This utility tries to get data with time tag from an input channel. If none is
there, it continues trying for up to 1/4 of a second before giving up. This
routine should only be used when time tags have been enabled by a
previous call to AR_TIMETAG_CONTROL. If this precaution is not
observed, this function returns two successive labels. If two labels aren’t
available in the buffer, it times out.
The system clock is used to time out this function. For the CEI-x20 API
under Windows, the Sleep() function is used to avoid tying up the
processor while waiting for a label to arrive.
ARS_NODATA No word available.
ARS_GOTDATA One ARINC word with timetag read.
ARS_INVBOARD Invalid board number.
ARS_BRDNOTLOAD Board not initialized.
ARS_INVARG Invalid parameter value.
ARS_NO_HW_SUPRT Non-implemented channel.
ARS_BOARD_MUTEX Failed to acquire/release the board lock.
board (input) board number of interest.
channel (input) channel from which to get the data.
destination (output) address in the caller's program that is to
receive the data. The returned ARINC data is
written at this location. The returned ARINC data is
always in normal ARINC format.
timetag (output) address in the caller's routine that is to
receive the timetag associated with the data.
Syntax
Description
Return Value
Arguments
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals