Initialization | Programming the Board |
|
|
Hardware version
Since all of the MI, MC and MX boards from Spectrum are modular boards, they consist of one base board and one or two (only PCI and CompactPCI)
Register | Value | Direction | Description |
SPC_PCIVERSION | 2010 | r | Board revision: bit 15..8 show revision of the base card, bit 7..0 the revision of the modules |
If your board has a
Register | Value | Direction | Description |
SPC_PCIEXTVERSION | 2011 | r | Board’s expansion module hardware revision as integer value. |
Date of production
This register informs you about the production date, which is returned as one 32 bit longword. The upper word is holding the information about the year, while the lower byte informs about the month. The second byte (counting from below) is not used. If you only need to know the production year of your board you have to mask the value accordingly. Normally you do not need this information, but if you have a support question, please provide the revision within.
Register
SPC_PCIDATE
Value | Direction | Description |
2020 | r | Production date: year in bit 31..16, month in bit 7..0, bit 15..8 are not used |
|
|
|
Serial number
This register holds the information about the serial number of the board. This numer is unique and should always be sent together with a support question. Normally you use this information together with the register SPC_PCITYP to verify that multiple measurements are done with the exact same board.
Register | Value | Direction | Description |
SPC_PCISERIALNO | 2030 | r | Serial number of the board |
Maximum possible sample rate
This register gives you the maximum possible samplerate the board can run however. The information provided here does not consider any restrictions in the maximum speed caused by special channel settings. For detailed information about the correlation between the maximum samplerate and the number of activated chanels please refer th the according chapter.
Register | Value | Direction | Description |
SPC_PCISAMPLERATE | 2100 | r | Maximum samplerate in Hz as a 32 bit integer value |
Installed memory
This register returns the size of the installed
Register | Value | Direction | Description |
SPC_PCIMEMSIZE | 2110 | r | Instaleld memory in bytes as a 32 bit integer value |
The following example is written for a „two bytes“ per sample board (12, 14 or 16 bit board).
SpcGetParam (hDrv, SPC_PCIMEMSIZE, &lInstMemsize);
printf ("Memory on board: %ld MBytes (%ld MSamples)\n", lInstMemsize /1024 / 1024, lInstMemsize /1024 / 1024 /2);
38 | MI.61xx Manual |