
PCI.412 manual
31.03.2004
Page 20 of 26
Status register
Status information can be read at any time. The other parameters can only be written and the data can be read if the board is stopped.
register name
reg no.
r/w
SPC_STATUS
10
r
Status register, values listed below.
Status code
value
SPC_RUN
0
Board is running.
SPC_TRIGGER
10
Trigger event has been found.
SPC_READY
20
Recording has stopped.
Command register
The command register executes commands like start and stop or synchronises the board with other boards.
register name
reg no.
r/w
SPC_COMMAND
0
w
Command register, allowed values listed below.
status code
value
SPC_START
10
starts the board with the current register settings. If the settings of the input range has
been set since the last start of the board, the driver will hold a 200 ms delay before
starting to wait the relais settling time.
SPC_STOP
20
stops the board, data in memory is undefined.
SPC_SYNCMASTER
100
synchronisation with internal sync bus, this board works as clock master
SPC_SYNCSLAVE
110
synchronisation with internal sync bus, this board works as clock slave
SPC_NOSYNC
120
no synchronisation
SPC_SYNCTRIGGERMASTER
101
synchronisation: board generates trigger for all boards
SPC_SYNCTRIGGERSLAVE
111
synchronisation: board receives trigger from trigger master board.
Synchronisation (Option)
This option allows it to connect several boards from Spectrum to generate a multi-channel system. It is possible to connect several PCI.412.
One board is the clock master and generates the clock for the other (slave) boards. The clock master is defined in hardware and has the
synchronisation master bit set in the PCI features register (see above). Only one board may be the clock master. At runtime any of the
synchronised boards may be defined as a trigger master and generates trigger information for the other boards.
The boards have to be installed and connected in a defined order to work correctly. Use the label on the board to determine which board
must be installed in which slot. Connect the boards with the delivered flat ribbon cable and use the sync-connector as shown in the
placement. Do not change the board order, the synchronisation will only work with this installation:
Master Slave0 Slave1
Slave2 ...
If the boards are synchronised, they must be programmed in the following steps:
(1)
Set all parameters for all boards except the sync information
(2)
Set the sync information for the clock-master board.
(3)
Set the sync information for all clock-slave boards.
(2)
Start all trigger-slave boards.
(3)
Start the trigger-master board.
All boards will run with the clock generated by the clock-master board. Only the trigger-master board may generate a trigger. The trigger
settings for the trigger-slave boards will be ignored.