Measurement-computing Personal Daq rev.6.0 Manual de usuario Pagina 152

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 170
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 151
B-20 API Commands Appendix B,
887095 Personal Daq User’s Manual
daqCvtSetAdcRange
DLL Function
daqCvtSetAdcRange(FLOAT Admin, FLOAT Admax);
C
daqCvtSetAdcRange(FLOAT Admin, FLOAT Admax);
Visual BASIC
VBdaqCvtSetAdcRange&(ByVal ADmin!, ByVal ADmax!)
Delphi
daqCvtSetAdcRange(Admin:single; Admax:single)
Admin
A/D minimum voltage range
Parameters
Admax
A/D maximum voltage range
Returns
DerrNoError
No error
See Also
Program References
None
Used With
Description
daqCvtSetAdcRange allows you to set the current ADC range for use by the daqCvt… functions. This function should not need to be
called if used for data collected by the Personal Daq devices.
daqDefaultErrorHandler
DLL Function
DaqDefaultErrorHandler(DaqHandleT handle, daqError errCode);
C
DaqDefaultErrorHandler(DaqHandleT handle, DaqError errCode);
Visual BASIC
VbdaqDefaultErrorHandler(ByVal handle&, ByVal errCode&)
Delphi
DaqDefaultErrorHandler(handle:DaqHandleT; errCode:daqError)
Handle
Handle to the device to which the default error handler is to be attached.
Parameters
ErrCode
The error code number of the detected error
Returns
None
See Also
DaqGetLastError, daqProcessError, daqSetDefaultErrorHandler
Program References
None
Used With
All devices
Description
daqDefaultErrorHandler displays an error message and then exits the application program. When the Personadaq library is loaded, it
invokes the default error handler whenever it encounters an error. The error handler may be changed with daqSetErrorHandler.
daqFormatError
DLL Function
daqFormatError(daqError errorNum, PCHAR msg);
C
daqFormatError(DaqError errorNum, PCHAR msg);
Visual BASIC
VBdaqFormatError&(ByVal errorNum&, ByVal msg&)
Delphi
daqFormatError(errorNum:daqerror; msg:PCHAR);
daqError
Personal Daq API error code
Parameters
msg
Pointer to a string to return the error text
Returns
DerrNoError
No error
See Also
daqSetDefaultErrorHandler, daqSetErrorHandler, daqProcessError, daqGetLastError,
daqDefaultErrorHandler
Program References
None
Used With
All devices
Description
daqFormatError returns the text-string equivalent for the specified error condition. The error condition is specified by the daqError
parameter. The error text will be returned in the character string pointed to by the msg parameter. The character string space must have
been previously allocated by the application before calling this function. The allocated character string should be, at minimum, 64 bytes in
length.
For more information on specific error codes refer to the API Error Codes on page page B-33.
Vista de pagina 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 169 170

Comentarios a estos manuales

Sin comentarios