Api error codes (cont.) – daqerror – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 322

4.7-4 Daq API Command Reference
908594
Programmer’s
Manual
API Error Codes (Cont.) – daqError
Scanned Input Transfers
Error Name
Code # hex - dec
Description
DerrOverrun
2Ch - 44
A buffer overrun occurred – The acquisition transfer buffer located in PC memory
has overrun. When this occurs data loss and/or corruption is possible.
Corrective Actions:
•
Make sure that the application has enough time to return to
processing/removing data from the buffer before it overruns.
•
If using a Driver allocated buffer make sure that daqAdcTransferGetStat is
called often to manage the transfer.
•
Increase the buffer size so that more processing/removing latencies can be
tolerated without overrunning.
•
Decrease the acquisition rate and/or acquisition channel scan count.
Zero and Cal Conversion Errors
Error Name
Code # hex - dec
Description
DerrZCInvParam
2Dh - 45
Unspecified parameter value error – An invalid parameter was specified during
daqZeroSetup or daqZeroConvert.
Corrective Actions:
•
Check the parameter settings for daqZeroSetup and daqZeroConvert.
DerrZCNoSetup
2Eh - 46
Zero compensation has not been properly setup. daq…Convert
was
called before daq…Setup or daqZeroSetup was not properly
performed
Corrective Actions:
•
Make sure that daqZeroSetup was called before daqZeroConvert.
•
Make sure that daqZeroSetup was called with the proper parameter definitions
and settings.
•
Check any error codes returned from daqZeroSetup.
DerrInvCalFile
2Fh - 47
Cannot open the specified cal file – the calibration file specified by the calfile
parameter when executing the daqReadCalFile API could not be opened.
Corrective Actions:
•
Make sure that the calibration file name and path have been properly defined
in the calfile string parameter.
•
Make sure that the application has the appropriate system permissions to read
the file. This can be an issue under Windows/NT/2000 systems.
Environmental Errors
Error Name
Code # hex - dec
Description
DerrMemLock
30h - 48
Cannot lock allocated memory from operating system. This is a rare error condition
and is an operating system resource issue.
Corrective Actions:
•
Shut down any applications that may have PC memory intense operations.
•
Increase system memory size.
DerrMemHandle
31h - 49
Cannot get a memory handle from operating system This is a rare error condition
and is an operating system resource issue.
Corrective Actions:
•
Shut down any applications which may have PC memory intense operations.
Pre-trigger acquisition Errors
Error Name
Code # hex - dec
Description
DerrNoPreTActive
32h - 50
No pre-trigger configured – pre-trigger operation could not be performed since no
pre-trigger has been defined.
Corrective Actions:
•
Setup the acquisition for pre-trigger operation.
DAC FIFO Errors (DaqBoard only)
Error Name
Code # hex - dec
Description
DerrInvDacChan
33h - 51
DAC channel does not exist. The DAC channel specified does not exist for the
specified device. Channel number selected cannot be programmed because it is
an invalid DAC channel.
Corrective Actions:
•
Check channel setting to ensure that it is correlated to a real physical DAC
channel on the main unit or expansion device.
•
Check that the channel is being configured on the desired device. Device
Handle should correspond to the device for which the channel is being
configured