There are different programs used by this setup, some are auxiliary programs that are needed for a specific device, others are needed only for a specific installation process and some are used to download/upload firmware. There is a distinction between program/software and auxiliary program/software, the auxiliary ones are only used for the installation process. For example if make is needed to install, for example software A it gets listed as a auxiliary software.
| Program | Origin | location | Type |
|---|---|---|---|
| net-tools | standard repository | /usr/share/doc/packages/net-tools | package |
| libfftw3-dev | standard repository | /usr/share/doc/packages/libfftw3-dev | package |
| wget | standard repository | /usr/share/doc/packages/wget | package |
| python | standard repository | /usr/share/doc/packages/python | package |
| LabVIEW 2022Q3 | LabVIEW | /usr/local/natinst/LabVIEW-2022-64 | Software |
| tar | standard repository | /usr/bin/tar | package |
| Sequencers | Argentina | /home/damic/Files | files |
| TICAS | V. Gkougkousis | /home/damic/Applications | files |
| LEACH | Argentina (Sequencers), Manuals | /home/damic/Files | files |
| LTA | University of Washington | /home/damic/Applications | files |
| ACM | Paris | /home/damic/Applications | files |
| GPIB-USB | GPIB software | /home/ccdtest/Desktop/ni/linux-gpib-git | Software |
| DS9 | DS9 download page | /home/damic/Applications | Software |
| WADERS | CERN | /home/damic/Applications | Software |
For the screen to work properly we use a Nvidia graphic card (Quadro 600). To install is follow this steps:
This shows a list of recommended drivers, chose the one that corresponds to the graphic cards
The last command should display some information's regarding the graphic card.
To install LabVIEW you need a ni account. Download the iso file, make sure you have downloaded the correct version in regards to operating system and version compatibility. After you have downloaded the iso file follow these steps:
If you go with a different linux/LabVIEW version the guide above may not work, but there exists a Guide for different verisons of linux/LabVIEW
To install WADERS copy the files from the server in the Directory /home/damic/Applications/WADERS to your PC. Afterwards go to the directory that include the setup.py file and follow these steps:
change np.int and np.float to int and float
There are two ways on how to install the gbip driver. The first one is a guide made by Marios Omar Choudary (University of Cambridge), the second one is a guide made by the Youtuber Tech Tangents.
To use a gpib-usb connection you have to install the driver. For this follow these steps, missing directories have to be made accordingly:
If you get an error that looks something like this: …. libgip: IBOPENDEV ioctl failed ibdev error …. it means that your system uses the gpib.conf file located in /usr/local/etc/gpib.conf, which is wrong to solve this either modify this file according to the above one or use this command:
This should resolve the error. If you update your kernel version, the kernel module gets not automatically moved into the new kernel, either change back or recompile the kernel module. To use the GPIB with a LabVIEW script you need also to install the ni-488.2 driver. After the installation make sure that all ni kernel modules are loaded.
This guide allows for some rudimentary communication between the instrument an the computer but LabVIEW itself does not recognize the instrument…
The Youtuber Tech Tangents made a video guide on how to install and use a gpib interface Videolink, keep in mind that LabVIEW still does not recognize the gpib interface but python does. Note: This procedure has to be repeated every time the kernel gets update (if only a reboot took place repeat the second part of this guide).
- Download the newest version of the driver here.
For the computer to recognize and use the gpib driver the following commands have to be made every time the system reboots.
| Program | Origin | location |
|---|---|---|
| Owl3.6 | ARC | usr/local |
| CCDDrone | CCDDrone | /home/damic/Files/Leach |
| ARC-66 PCIe v3.6 | ARC | /home/damic/Files/Leach |
| Auxilliar Programs | ||
| build-essential | standard repository | /usr/share/doc/packages/build-essential/ |
| libcfitsio | standard repository | /usr/share/doc/packages/libcfitsio/ |
| libcfitsio-dev | standard repository | /usr/share/doc/packages/libcfitsio-dev/ |
| cmake | standard repository | /usr/share/doc/packages/cmake |
| make | standard repository | /usr/share/man/man1/make.1.gz |
| kernel-devel | standard repository | /usr/src/linux-5.14.21-150500.55.73/ |
| gcc-11 | standard repository | /usr/bin/gcc-11 |
| g++-11 | standard repository | /usr/share/doc/packages/g++-11/ |
| libstdc++6 | standard repository | /usr/share/doc/packages/libstdc++6/ |
| libcanberra-gtk-module | standard repository | /usr/share/doc/packages/libcanberra-gtk-module |
| libcanberra-gtk3-module | standard repository | /usr/share/doc/packages/libcanberra-gtk3-module |
| libcurl4-openssl-dev | standard repository | /usr/share/doc/packages/libcurl4-openssl-dev |
When trying to install the ARC66 it will give the following Warning: modules_install: missing 'System.map' file. Skipping depmod. Which can be ignored. When trying to install Owl it will say: Invalid source file! This comes from an error in the Install file itself, scroll down until you find the line, which specifies the source file, there change the file name to OwlFiles3.6.2.tar. You have to be super user to start the installation process. For both cases make sure that all the files have read write and execute permission:
If you update the kernel you have to create the kernel module again.
To get the gcc11 modules follow these steps:
After you downloaded the files and extracted them in your desired directory follow the README file, but before you enter the make command change line 51-61 in the CMakeLists.txt file to the following:
add_executable( CCDDExpose CCDDExpose.cpp ) target_link_libraries( CCDDExpose LeachController -lCArcDeinterlace -lCArcDevice -lcurl ${CFITSIO_LIBRARIES})
add_executable( CCDDExposeC CCDDExposeC.cpp ) target_link_libraries( CCDDExposeC LeachController -lCArcDeinterlace -lCArcDevice -lcurl ${CFITSIO_LIBRARIES})
add_executable( CCDDStartupAndErase CCDDStartupAndErase.cpp) target_link_libraries( CCDDStartupAndErase LeachController -lCArcDeinterlace -lCArcDevice -lcurl ${CFITSIO_LIBRARIES})
add_executable( CCDDPerformEraseProcedure CCDDPerformEraseProcedure.cpp) target_link_libraries( CCDDPerformEraseProcedure LeachController -lCArcDeinterlace -lCArcDevice -lcurl ${CFITSIO_LIBRARIES})
add_executable( CCDDApplyNewSettings CCDDApplyNewSettings.cpp) target_link_libraries( CCDDApplyNewSettings LeachController -lCArcDeinterlace -lCArcDevice -lcurl ${CFITSIO_LIBRARIES} )
Then follow the ReadME fileagain.
| Program | Origin | location |
|---|---|---|
| ltaDaemon | Daemon | /home/damic/Applications |
| Auxiliary programs | ||
| make | standard repository | /usr/share/man/man1/make.1.gz |
| git | standard repository | /usr/share/doc/packages/git |
| cFITSIO | standard repository | /doc/packages/cfitsio/ |
| gcc | standard repository | /usr/bin/gcc |
| pkg-config | standard repository | /usr/share/doc/packages/pkg-config |
| libtbb2 | standard repository | /usr/share/doc/packages/libtbb2 |
| libtbb-dev | standard repository | /usr/share/doc/packages/libtbb-dev |
| root | Binary distribution | /home/ccdtest |
To install root follow these commands:
the last command should start the root interactive shell, if not something went wrong.
| Program | Origin | location |
|---|---|---|
| ACM driver | ccd-cdaq | /home/damic/Applications |
| Auxilliar Programs | ||
| mosquitto | standard repository | /usr/share/doc/packages/mosquitto |
| tmux | standard repository | /usr/share/doc/packages/tmux |
| quartus | Intel FPGA | /home/ccdtest |
| python3 | standard repository | /usr/share/doc/packages/python3/ |
| screen | standard repository | /usr/share/doc/packages/screen/ |
Before you start the tmux session make sure, that the cdaq_env is activated (source cdaq_env/bin/activate) otherwise it will complaine.