
4.7-2 Daq API Command Reference 908594 Programmer’s Manual
API Error Codes (Cont.) – daqError
Error Name Code # hex - dec Description
DerrInvCount 11h - 17
Invalid count parameter – An invalid number was specified. This can be related to
number of scans requested, number of channels in a scan, number of updates or
scans in a buffer, number of scans requested to transfer and so on.
Corrective Actions:
• Check any API’s where any channel, scan or buffer allocation is performed.
• Check API’s that request transferred or updated data status requests.
• Check that passed count values are valid.
DerrInvTrigSource 12h - 18
Invalid trigger source parameter Trigger source selected is not a valid trigger source
for the given device.
Corrective Actions:
• Check that the trigger source selected is a valid trigger source (see trigger
source table)
• Check device documentation to see if the device is capable of using the trigger
source.
DerrInvLevel 13h - 19
Invalid trigger level parameter – Trigger level programmed is invalid.
Corrective Actions:
• Check that the trigger value programmed is appropriate for the input range of
the selected device and channel.
DerrInvGain 14h - 20
Invalid channel gain parameter - Gain level programmed is invalid.
Corrective Actions:
• Check that the device and channel for the specified gain are capable of utilizing
the gain programmed. (see gain tables)
DerrInvDacVal 15h - 21
Invalid DAC output parameter
Corrective Actions:
• Make sure that the programmed DAC values are within the specified range of
the DAC output for the device and channel.
DerrInvExpCard 16h - 22
Invalid expansion card parameter – parameter cannot be used with specified
expansion card or channel:
Corrective Actions:
• Do not use the illegal parameter
DerrInvPort 17h - 23
Invalid port parameter – Invalid DIO port reference.
Corrective Actions:
• Check that the port number programmed is valid DIO port for the device or DIO
expansion card.
DerrInvChip 18h - 24
Invalid chip parameter (no ref)
DerrInvDigVal 19h - 25
Invalid digital output parameter – Digital output value not valid for output to digital
port
Corrective Actions:
• Inspect all daqIO output parameters for inappropriate values for the given DIO
port and device.
DerrInvBitNum 1Ah - 26
Invalid bit number parameter – Bit number specified is not valid for specified DIO
port.
Corrective Actions:
• Check that bit number programmed is valid for specified DIO port and channel
DerrInvClock 1Bh - 27
Invalid clock parameter – Input or Output clock parameter or combination of clock
parameters programmed is not valid.
Corrective Actions:
• Check clock parameter values
• Check clock parameter flags
DerrInvTod 1Ch - 28
Invalid time-of-day parameter – Time of Day programmed on the 9513 chip is invalid
Corrective Actions:
• Check Daq9513TimeOfDay (tod) parameter used with daq9513SetMasterMode
API.
DerrInvCtrNum 1Dh - 29
Invalid counter number – The counter number specified is not a valid counter
number for the 9513 device.
Corrective Actions:
• Use a counter number between 1 and 5 for the 9513.
DerrInvCntSource 1Eh - 30
Invalid counter source parameter –The 9513 Counter Source parameter is not valid.
Corrective Actions:
• Select a defined Counter Source (see 9513 Counter Source tables)
DerrInvCtrCmd 1Fh - 31
Invalid counter command parameter – The 9513 Counter Command specified is not
valid.
Corrective Actions:
• Specify a valid 9513 Counter Command. (see 9513 counter command tables)
DerrInvGateCtrl 20h - 32
Invalid counter gate parameter – The specified gate is not valid when programming
counter mode.
Corrective Actions:
• Specify a valid 9513 Gate Control value. (see 9513 counter gate tables)
Comentarios a estos manuales