
Appendix
Error Codes
(c) Spectrum Instrumentation GmbH
177
Spectrum Knowledge Base
You will also find additional help and information in our knowledge base available on our website:
https://spectrum-instrumentation.com/en/knowledge-base-overview
ERR_NOTIFYSIZE
111h
273
The notify size of the last spcm_dwDefTransfer call is not valid. The notify size must be a multiple of the page size of
4096. For data transfer it may also be a fraction of 4k in the range of 16, 32, 64, 128, 256, 512, 1k or 2k. For
ABA and timestamp the notify size can be 2k as a minimum.
ERR_RUNNING
120h
288
The board is still running, this function is not available now or this register is not accessible now.
ERR_ADJUST
130h
304
Automatic card calibration has reported an error. Please check the card inputs.
ERR_PRETRIGGERLEN
140h
320
The calculated pretrigger size (resulting from the user defined posttrigger values) exceeds the allowed limit.
ERR_DIRMISMATCH
141h
321
The direction of card and memory transfer mismatch. In normal operation mode it is not possible to transfer data from
PC memory to card if the card is an acquisition card nor it is possible to transfer data from card to PC memory if the
card is a generation card.
ERR_POSTEXCDSEGMENT
142h
322
The posttrigger value exceeds the programmed segment size in multiple recording/ABA mode. A delay of the multiple
recording segments is only possible by using the delay trigger!
ERR_SEGMENTINMEM
143h
323
Memsize is not a multiple of segment size when using Multiple Recording/Replay or ABA mode. The programmed
segment size must match the programmed memory size.
ERR_MULTIPLEPW
144h
324
Multiple pulsewidth counters used but card only supports one at the time.
ERR_NOCHANNELPWOR
145h
325
The channel pulsewidth on this card can’t be used together with the OR conjunction. Please use the AND conjunction
of the channel trigger sources.
ERR_ANDORMASKOVRLAP
146h
326
Trigger AND mask and OR mask overlap in at least one channel. Each trigger source can only be used either in the
AND mask or in the OR mask, no source can be used for both.
ERR_ANDMASKEDGE
147h
327
One channel is activated for trigger detection in the AND mask but has been programmed to a trigger mode using an
edge trigger. The AND mask can only work with level trigger modes.
ERR_ORMASKLEVEL
148h
328
One channel is activated for trigger detection in the OR mask but has been programmed to a trigger mode using a
level trigger. The OR mask can only work together with edge trigger modes.
ERR_EDGEPERMOD
149h
329
This card is only capable to have one programmed trigger edge for each module that is installed. It is not possible to
mix different trigger edges on one module.
ERR_DOLEVELMINDIFF
14Ah
330
The minimum difference between low output level and high output level is not reached.
ERR_STARHUBENABLE
14Bh
331
The card holding the star-hub must be enabled when doing synchronization.
ERR_PATPWSMALLEDGE
14Ch
332
Combination of pattern with pulsewidth smaller and edge is not allowed.
ERR_XMODESETUP
14Dh
333
The chosen setup for (SPCM_X0_MODE .. SPCM_X19_MODE) is not valid. See hardware manual for details.
ERR_PCICHECKSUM
203h
515
The check sum of the card information has failed. This could be a critical hardware failure. Restart the system and
check the connection of the card in the slot.
ERR_MEMALLOC
205h
517
Internal memory allocation failed. Please restart the system and be sure that there is enough free memory.
ERR_EEPROMLOAD
206h
518
Timeout occurred while loading information from the on-board EEProm. This could be a critical hardware failure.
Please restart the system and check the PCI connector.
ERR_CARDNOSUPPORT
207h
519
The card that has been found in the system seems to be a valid Spectrum card of a type that is supported by the driver
but the driver did not find this special type internally. Please get the latest driver from
www.spectrum-instrumentation.com and install this one.
ERR_CONFIGACCESS
208h
520
Internal error occured during config writes or reads. Please contact Spectrum support for further assistance.
ERR_FIFOHWOVERRUN
301h
769
Hardware buffer overrun in FIFO mode. The complete on-board memory has been filled with data and data wasn’t
transferred fast enough to PC memory. If acquisition speed is smaller than the theoretical bus transfer speed please
check the application buffer and try to improve the handling of this one.
ERR_FIFOFINISHED
302h
770
FIFO transfer has been finished, programmed data length has been transferred completely.
ERR_TIMESTAMP_SYNC
310h
784
Synchronization to timestamp reference clock failed. Please check the connection and the signal levels of the refer
-
ence clock input.
ERR_STARHUB
320h
800
The auto routing function of the Star-Hub initialization has failed. Please check whether all cables are mounted cor
-
rectly.
ERR_INTERNAL_ERROR
FFFFh
65535
Internal hardware error detected. Please check for driver and firmware update of the card.
Table 102: Spectrum API: driver error codes and error description
error name
value
(hex)
value
(dec.)
error description
Summary of Contents for M2p.59 Series
Page 190: ......