...
IEQ11 is IEEE488/GPIB adapter for PDP and VAX. To configure it 2 steps must be applied - compilation and loading of NI-PCI/GPIB PCI PassThrough device driver and confuguring CHARON. Include Page
NI-PCI/GPIB PCI PassThrough device driver
...
Note |
---|
There is no need to install device drivers from National Instruments |
...
...
Building NI-PCI/GPIB PCI PassThrough device driver
To build NI-PCI/GPIB PCI PassThrough device driver do the following:
Step | Description |
---|---|
1 | Make sure that the required building tools and include files are installed. If they are absent install them: # yum groupinstall “Development Tools” # yum
Note: The kernel version must match the version of the installed kernel-headers (i.e. this packages must have same versions. It can be verified via Check that the "kernel" and the "kernel-headers" have the same version, and ensure that system is booted from this kernel version (not from some older one and etc) with " |
2 | Open xterm and change the default directory to "
|
3 | Issue "make clean; make" commands to build kernel object: # make
It is prohibited to use a module built on a certain version of kernel on another one. |
4 | Check that there are no compilation errors and the file "ni_pci_gpib_ppt .ko " has been built |
...
Div | ||
---|---|---|
| ||
Installation of NI-PCI/GPIB PCI PassThrough device driver
To install NI-PCI/GPIB PCI PassThrough device driver do the following:
Step | Description |
---|---|
1 | Load "
|
2 | Issue "dmesg" command and check that no error appeared during the driver loading, also check that the driver has found all GPIB devices: # dmesg
|
Include Page | ||||
---|---|---|---|---|
|
...
To add NI-PCI/GPIB PCI PassThrough device driver to Linux startup do the following:
Step | Description | |||||
---|---|---|---|---|---|---|
1 | Disable auto-loading of device drivers from National Instruments on boot (if available). Use the black list file "/etc/modprobe.d/blacklist.conf " to do that. | |||||
2 | Copy the GPIB kernel module to the location of Linux kernel modules, for example:
| |||||
3 | Enable auto load of the module: # echo ni
| |||||
4 | Regenerate new "initramfs" image with "mkinitrd":
The particular path may be different, depending on the kernel version and Linux distribution. |
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Configuring CHARON
Once NI-PCI/GPIB PCI PassThrough device driver is compiled and loaded configure CHARON in the following way:
VAX configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
|
|
|
PDP11 configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Include Page | ||||
---|---|---|---|---|
|