This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software [2024/09/23 15:57] – [GPIB-USB] simon | software [2025/02/05 15:48] (current) – [Youtube Guide] simon | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| If you go with a different linux/// | If you go with a different linux/// | ||
| - | ===== GPIB-USB ===== | + | ===== WADERS ===== |
| + | To install WADERS copy the files from the server in the Directory / | ||
| + | - pip3 install -r requirements.txt | ||
| + | - pip3 install . | ||
| + | - cd ~/ | ||
| + | - chmod +x * | ||
| + | - nano ~/.bashrc | ||
| + | - add the line: export PATH=" | ||
| + | - source ~/.bashrc | ||
| + | - sudo nano home/ | ||
| + | change np.int and np.float to int and float | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ====== GPIB-USB | ||
| + | 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)//, | ||
| + | |||
| + | ===== Cambridge Guide ===== | ||
| To use a gpib-usb connection you have to install the driver. For this follow these steps, missing directories have to be made accordingly: | To use a gpib-usb connection you have to install the driver. For this follow these steps, missing directories have to be made accordingly: | ||
| Line 75: | Line 93: | ||
| - sudo ln -s / | - sudo ln -s / | ||
| - sudo gpib_config | - sudo gpib_config | ||
| - | This should resolve the error. If you update your kernel version, the kernel module gets nopt automatically moved into the new kernel, either change back or recompile the kernel module. | + | 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. | 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. | 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... | ||
| + | |||
| + | ===== Youtube Guide ===== | ||
| + | The Youtuber | ||
| + | **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 [[https:// | ||
| + | - Install the kernel | ||
| + | - make | ||
| + | - sudo make install | ||
| + | - Install the user | ||
| + | - ./bootstrap | ||
| + | - ./configure --sysconfdir=/ | ||
| + | - sudo make | ||
| + | - sudo make install | ||
| + | |||
| + | For the computer to recognize and use the gpib driver the following commands have to be made every time the system reboots. | ||
| + | - groupadd gpib | ||
| + | - sudo usermod -a -G gpib $USER | ||
| + | - sudo ldconfig | ||
| + | - sudo gpib_config -t ni_usb_b | ||
| ====== Leach ====== | ====== Leach ====== | ||
| Line 104: | Line 145: | ||
| If you update the kernel you have to create the kernel module again. | If you update the kernel you have to create the kernel module again. | ||
| + | |||
| + | To get the gcc11 modules follow these steps: | ||
| + | * sudo add-apt-repository ppa: | ||
| + | * sudo apt update | ||
| + | * sudo apt install gcc-11 g++-11 | ||
| + | |||
| + | |||
| + | ===== CCDDrone ===== | ||
| + | |||
| + | 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. | ||
| + | |||
| ====== LTA ====== | ====== LTA ====== | ||
| Line 138: | Line 207: | ||
| | tmux | standard repository | | tmux | standard repository | ||
| | quartus | | quartus | ||
| - | | | + | | |
| + | | screen | ||
| Before you start the tmux session make sure, that the cdaq_env is activated (source cdaq_env/ | Before you start the tmux session make sure, that the cdaq_env is activated (source cdaq_env/ | ||