Measurement-computing Data Acquisition Systems rev.10.4 Manual do Utilizador Página 324

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 366
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 323
4.7-6 Daq API Command Reference 908594 Programmer’s Manual
API Error Codes (Cont.) – daqError
Channel Bank/Option Errors
Error Name Code # hex - dec Description
DerrInvBankType 3Fh - 63
Invalid bank-type specified. This error code is returned from
daqAdcExpSetChanOption and daqAdcExpSetBank if the channel type passed is
either undefined or inappropriate for the bank.
Corrective Actions:
Check the chanType parameter for the daqAdcExpSetBank API and the
optionType parameter for the daqAdcExpSetChanOption API
DerrBankBoundary 40h - 64
Simultaneous writes to DBK cards in different banks not allowed.
Error Name Code # hex - dec Description
DerrInvFreq 41h - 65
Invalid scan frequency specified. Could not achieve the specified input scan
frequency – could not program the unit to scan or update at the requested rate. In
most cases the scan rate will automatically be set to the nearest achievable rate.
Corrective Actions:
Lower the rate requested – normally, the rate requested is not achievable due
to the rate being too high for the unit.
Decrease channel count – the aggregate rate can be increased by reducing the
number of channels to scan.
If using a DaqBoard/2000 Series board the rate can be increased by ensuring
that Compatibility Mode (100Khz) is disabled.
DerrNoDaq 42h - 66
Daq/112/216 not found (obsolete error code)
DerrInvOptionType 43h - 67
Invalid option-type parameter - An invalid option type has been specified to the
daqSetOption or daqAdcExpSetModuleOption API’s. The optionType parameter
needs to be a valid value supported by the DaqOptionType definitions.
Corrective Actions:
Check that the optionType parameter specified is a defined DaqOptionType.
Check documentation for your device to determine if the device is capable of
setting the specified option.
DerrInvOptionValue 44h - 68
Invalid option-value parameter - An invalid option value has been specified to the
daqSetOption or daqAdcExpSetModuleOption API’s. The optionValue parameter
needs to be valid for the associated optionType parameter specified. The
optionValue parameter is a single precision floating point number that represents
the value to be set for the option. The most common occurrence of this error is
due to a value being passed that is outside the minimum and maximum allowable
settings for the option being set.
Corrective Actions:
Check that the optionType parameter specified is the desired option to set.
Check that the value being passed does not exceed the minimum or maximum
allowable settings for the option specified.
Check documentation for your device to determine if the device is capable of
setting the specified option.
DerrTooManyHandles 60h - 96
No more handles available to open. Too many open sessions are active. Many
daqOpen API’s have been issued without closing enough sessions (daqClose).
There are no more handles available.
Corrective Actions:
Close one or more devices (daqClose) so that a handle can become available.
DerrInvLockMask 61h - 97
Error code reserved for future use
DerrAlreadyLocked 62h - 98
Error code reserved for future use
DerrAcqArmed 63h - 99
Operation not available while an acquisition is armed. The operation must be
performed when there are no current acquisitions active or pending.
Corrective Actions:
Wait until the acquisition terminates normally
Terminate the acquisition with daqDisarm.
DerrParamConflict 64h - 100
Each parameter is valid, but the combination is invalid.
DerrInvMode 65h - 101
Invalid acquisition/wait/dac mode
DerrInvOpenMode 66h - 102
Invalid file-open mode – The file open mode openMode (DaqAdcOpenMode)
specified in the daqAdcSetDiskFile is invalid.
Corrective Action:
Check that the value passed for the openMode parameter is a valid
DaqAdcOpenMode type.
Vista de página 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 365 366

Comentários a estes Manuais

Sem comentários