Adlink ACL-8112 Series Manual de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
C Language Library
63
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 pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 93 94

Comentarios a estos manuales

Sin comentarios