Measurement-computing TempBook rev.3.0 Manual de usuario Pagina 82

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 166
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 81
9-22 tbkCommand Reference (
Standard
API) TempBook Users Manual
tbkSetMux
DLL Function
int tbkSetMux(uint startChan, uint endChan, uchar gain);
C
tbkSetMux(unsigned startChan, unsigned endChan, unsigned char gain);
QuickBASIC
BtbkSetMux% (ByVal startChan%, ByVal endChan%, ByVal gain%)
Visual Basic
VBtbkSetMux% (startChan%, endChan%, gain%)
Turbo Pascal
tbkSetMux( startChan:word; endChan:word; gain:byte ):integer;
Parameters
uint startChan
The starting channel of the scan group (see table at end of chapter for valid values)
uint endChan
The ending channel of the scan group (see table at end of chapter for valid values)
uchar gain
The gain value for all channels (see table at end of chapter for valid values)
Returns
TerrInvGain
- Invalid gain
TerrIncChan
- Invalid channel
TerrNoError
-No error
See Also
tbkSetScan, tbkGetScan
Program References
tbkSetMux
sets a simple scan sequence of local A/D channels from startChan to endChan all
with the specified gain value. This provides a simple alternative to
tbkSetScan
if consecutive
channels need to be acquired.
Vista de pagina 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 165 166

Comentarios a estos manuales

Sin comentarios