Measurement-computing ADLIB WIN Manuale Utente Pagina 105

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 191
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 104
Chapter 31 Input Configurations
24-1
24. INPUT CONFIGURATIONS
Input Configurations allows the random ordering of Differential, Single Ended or Pseudo Differential
channels input types to be programmed into the board channel RAM list.
The Pci55xx Series has 16 channels of analog inputs with programmable gain that’s multiplexed to the 12
or 16-bit A/D converter and supported by 176 elements of channel list RAM. This allows the board to
access individual channels, with input configurations.
24.1 AL_SetInputConfigList
Prototype C\C++
ERRNUM AL_SetInputConfigList(LHLD lhld, LPINPUTCONFIGLIST lpInputConfiglist);
Visual Basic for Windows
Function AL_SetInputConfigList(ByVal lhld As Long, lpInputConfiglist As INPUTCONFIGLIST)
As Long
LHLD lhld handle of the LDSD
LPINPUTCONFIGLIST lpchanlist address of the user INPUTCONFIGLIST structure
The AL_SetInputConfigList function sets the InputConfig list settings in the LDSD. The INPUTCONFIG
listing is comprised of a channel number and INPUTCONFIG type. The INPUTCONFIG list may contain
Channel/InputConfig settings that are not currently set in the channel listing itself, only those channels
selected within the channel list will be set to the appropriate InputConfig type when running. The
InputConfig ID setting in the array can be obtained from the capability file.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lpInputConfiglist Specifies a 32 bit far pointer to a INPUTCONFIG information
structure. The structure has been pre-defined in the ADLIB include file
and is defined as follows:
typedef struct tagINPUTCONFIGLIST
{
long lType; /* 0 = Not Defined */
/* 1 = Use string list */
/* 2 = Use array of ints */
char achInputConfigList[MAX_INPUTCONFIG_STRLEN];
long lNumElements;
long alInputConfigList[MAX_INPUTCONFIG_LIST_ARRAYLEN];
}INPUTCONFIG;
typedef INPUTCONFIG FAR * LPINPUTCONFIGLIST;
Returns:
On success ERRNUM is set to 1 and the information contained in the lpInputConfiglist structure is
transferred to the LDSD, otherwise ERRNUM contains the last error code that occurred during the call.
Vedere la pagina 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 190 191

Commenti su questo manuale

Nessun commento