G-line Digital Input/Output: MC PCI-DIO24

1) Installation on G-line IPC bus

The DIO24 board by MeasurementComputing (MC)
can presently only go on the right side of the extended
PCI bus in the industrial PC (IPC) (if the front IPC panel faces you).
For interfacing a DLI Current Amplifier, it is useful
to put the board into the right-most slot.

2) SPEC  installation

A) Menu :  Interface configuration

IO PORT   : YES
ADDR       : 0xa800 *
MODE      : R/W
NUM         : 4

* remark: the entry is only an example, how a hexadecimal
number is typed in using the SPEC configuration editor.
The actual ADDR can be obtained by typing "more /proc/pci"
and looking for the correct board (in RedHat 7.n the manufacturer
is displayed, in SuSE 7.3 this is unfortunately not the case)
For interfacing the DIO24 board, 4 consecutive addresses need
to be specified, as done by the NUM parameter.
For more info click here.

If more than one DIO board is used, one entry for each board is
required.
 

B) gsetup script

use: login as "specadm", start SPEC, and type "gsetup"

A text editor will display various hardware settings - look for the "DATA ACQuISITION" section.
For the DLISET macro to function correctly, the SPEC global variable RW_ADDR1 has to be set
to the same value as specified in the SPEC Interface configuration menu. (I am working on
making this assignment automatic.) Update the basic I/O address at the line
 

RW_ADDR1=0xa400


A low-level test of  interfacing the DIO24 board can be done using the SPEC command "diotest", as
defined in the dliset.mac macro. Interfacing a DLI Current Amplifier can be tested using the SPEC
command "dlitest". In each case the command checks all possible settings.