Adlink ACL-8112 Series Manual do Utilizador Página 69

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 68
C Language Library 61
7.7 _8112_AD_Input_Mode
Description
This function is only used with the ACL-8112 ver. B series.
The ACL-8112 offers either 16 single-ended analog input channels or 8
differential analog input channels. If the ACL-8112 ver B card is used,
you have to call this function to initialize the A/D operation.
Syntax
int _8112_AD_Input_Mode( int ad_mode )
Argument:
ad_ch_mode:
SINGLE_ENDED
: the analog inputs are single-ended
mode.
DIFFERENTIAL
: the analog inputs are differential.
Return Code:
ERR_NoError
ERR_BoardNoInit
ERR_InvalidADChannel
Example:
#include “8112.h”
main()
{
int j;
_8112_Initial( CARD_1, A8112B_DG, 0x210 );
/* Assume ERR_NoError when Initialize ACL-8112 */
_8112_Initial( CARD_2, A8112B_HG, 0x220 );
/* Assume ERR_NoError when Initialize ACL-8112 */
_8112_AD_Input_Mode( DIFFERENTIAL) ;
/* set analog input mode as “differential” mode */
/* if this function is not called, the default input
mode is single-ended mode */
Vista de página 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 91 92

Comentários a estes Manuais

Sem comentários