ATS9360 User Manual
21
Compiling the ATS9360 Linux Driver
If you need to compile the ATS9360 driver for a version of
Linux other than CentOS 6.3, follow these steps:
1. Install the Linux kernel header files.
2. Extract the driver sources using the command
"PlxLinux_ATS9360_5.6.15.tgz ". This will create a
folder names "PlxLinux" with the driver files inside.
3. Set the shell environment variable PLX_SDK_DIR to
the root location where the "PlxLinux" directory was
created. For example, if using bash and the PlxLinux
directory is in your home directory, then add the
following line to the ~/.bashrc :
declare -x PLX_SDK_DIR=$HOME/PlxLinux
4. To build the ATS9360 driver, type
cd PlxLinux/linux/driver
./make
This will create the file ATS9360.ko, the loadable
driver file. You can change build defines in
PlxLinux/linux/makefiles/Gcc.def. Copy the driver to
/usr/local/AlazarTech/bin.
5. Load the driver by rebooting the computer or typing:
cd /usr/local/AlazarTech/bin
ATS9360.rc start
You should be able to run the AlazarFrontPanel
application or Acq2Disk sample in
/usr/local/AlazarTech/samples.
6. If it is necessary to rebuild the library, type
cd PlxLinux/linux/api
make
This will create SharedLibrary/libPlxApi.so.0.0. Copy the file
to /usr/local/AlazarTech/lib and then run ldconf