Adlink ACL-8216 Manual do Utilizador Página 50

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 75
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 49
42
C/C++ Library
5.2 _8216_Initial
@ Description
An ACL-8216 card is initialized according to the card number and the
corresponding base address. Every ACL-8216 Multi-Function Data
Acquisition Card have to be initialized by this function before calling
other functions.
@ Syntax
int _8216_Initial(int card_number, int
base_addresss )
@ Argument
card_number:
The card number to be initialized,
only two cards can be initialized,
the card number must be CARD_1 or
CARD_2.
base_address:
The I/O port base address of the
card .
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
ERR_BaseAddressError
@ Example
#include "8216.h"
#include "aclerr.h"
main()
{
int ErrCode;
Errcode = _8216_Initial( CARD_1, 0x210 );
if( ErrCode != ERR_NoError ) exit(0);
ErrCode = _8216_Initial( CARD_2, 0x220 );
if( ErrCode != ERR_NoError ) exit(0);
.
.
.
}
Vista de página 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 74 75

Comentários a estes Manuais

Sem comentários