Skip to content
Thomas King edited this page Feb 27, 2019 · 3 revisions

#Introduction The host computer communicates with the Pixie modules via PLX drivers 9054. Before you can boot the modules you will have to install and load this driver. We will assume that the PLX drivers are already compiled and ready for use since they are a required component before you can install the DAQ software.

#Manually Load Drivers

export PLX_SDK_DIR=/opt/plx/current/PlxSdk
sudo /opt/plx/current/PlxSdk/Bin/Plx_load 9054

#Service Installation Instructions You should ensure that you pick the right service to install. For systems such as CentOS7 you should use the systemd service. Older systems will use the init.d scripts. It's up to you to know which you have, we take no responsibility for a bad install.

##Systemd To install and enable the service use

#cp ${PIXIESUITE_INSTALL_PATH}/share/systemd/plx.service /etc/systemd/system/
#systemctl start plx
#systemctl enable plx

To check that everything was installed properly you can use #systemctl status plx -l. If things were successful you should have a message that looks similar to

plx.service - PLX Driver 9054 for communication with XIA Pixie16
Loaded: loaded (/etc/systemd/system/plx.service; disabled; vendor preset: disabled)
Active: active (exited) since Sat 2016-06-18 13:57:53 EDT; 3s ago
Process: 4048 ExecStart=/opt/plx/current/PlxSdk/Bin/Plx_load 9054 (code=exited, status=0/SUCCESS)
Main PID: 4048 (code=exited, status=0/SUCCESS)

systemd[1]: Starting PLX Driver 9054 for communication with XIA Pixie16...
Plx_load[4048]: Install: Plx9054
Plx_load[4048]: Load module......... Ok (Plx9054.ko)
Plx_load[4048]: Verify load......... Ok
Plx_load[4048]: Get major number.... Ok (MajorID = 246)
Plx_load[4048]: Create node path.... Ok (/dev/plx)
Plx_load[4048]: Create nodes........ Ok (/dev/plx/Plx9054)
systemd[1]: Started PLX Driver 9054 for communication with XIA Pixie16.

###Known Issues ####Exec format error If you get a message saying Failed at step EXEC spawning /opt/plx/current/PlxSdk/Bin/Plx_load: Exec format error and the service returns a failed state, then you will have to modify the Plx_load and Plx_unload scripts in the PLX_SDK_DIR. Each file should have #!/bin/bash as the first line of the script.

##init.d Incomplete for now.

Clone this wiki locally