
Programming the Board
Reset
(c) Spectrum Instrumentation GmbH
71
Reset
Every Spectrum card can be reset by software. Concerning the hardware, this reset is the same as the power-on reset when starting the host
computer. In addition to the power-on reset, the reset command also brings all internal driver settings to a defined default state. A software
reset is automatically performed, when the driver is first loaded after starting the host system.
It is recommended, that every custom written program performs a software reset first, to be sure that the
driver is in a defined state independent from possible previous setting.
Performing a board reset can be easily done by the related board command mentioned in the following table.
Table 22: Spectrum API: command register and reset command
Register
Value
Direction
Description
SPC_M2CMD
100
w
Command register of the board.
M2CMD_CARD_RESET
1h
A software and hardware reset is done for the board. All settings are set to the default values. The data in the board’s
on-board memory will be no longer valid. Any output signals like trigger or clock output will be disabled.
Summary of Contents for M2p.59 Series
Page 190: ......