User Tools

Site Tools


software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software [2024/09/19 14:29] – [Table] simonsoftware [2025/02/05 15:48] (current) – [Youtube Guide] simon
Line 13: Line 13:
 |  LabVIEW 2022Q3  |  [[https://www.ni.com/en/support/downloads/software-products/download.labview.html#460310|LabVIEW]]  |  /usr/local/natinst/LabVIEW-2022-64        Software  | |  LabVIEW 2022Q3  |  [[https://www.ni.com/en/support/downloads/software-products/download.labview.html#460310|LabVIEW]]  |  /usr/local/natinst/LabVIEW-2022-64        Software  |
 |  tar              standard repository                                                                                  /usr/bin/tar                              package   | |  tar              standard repository                                                                                  /usr/bin/tar                              package   |
-|  Sequencers      |  Argentina                                                                                            /home/ccdtest/Desktop                    |  files     | +|  Sequencers      |  Argentina                                                                                            /home/damic/Files                        |  files     | 
-|  TICAS            V. Gkougkousis                                                                                      |  /home/ccdtest/Desktop                    |  files     | +|  TICAS            V. Gkougkousis                                                                                      |  /home/damic/Applications                 |  files     | 
-|  LEACH            Argentina (Sequencers), [[http://www.astro-cam.com/index.php|Manuals]]                              |  /home/ccdtest/Desktop                    |  files     | +|  LEACH            Argentina (Sequencers), [[http://www.astro-cam.com/index.php|Manuals]]                              |  /home/damic/Files                        |  files     | 
-|  LTA              University of Washington                                                                            |  /home/ccdtest/Desktop                    |  files     |+|  LTA              University of Washington                                                                            |  /home/damic/Applications                  files     | 
 +|  ACM              Paris                                                                                                /home/damic/Applications                 |  files     |
 |  GPIB-USB        |  [[https://linux-gpib.sourceforge.io/|GPIB software]]                                                |  /home/ccdtest/Desktop/ni/linux-gpib-git  |  Software  | |  GPIB-USB        |  [[https://linux-gpib.sourceforge.io/|GPIB software]]                                                |  /home/ccdtest/Desktop/ni/linux-gpib-git  |  Software  |
-| DS9              | [[https://sites.google.com/cfa.harvard.edu/saoimageds9/download|DS9 download page]]                  | /home/ccdtest/Desktop                                + DS9              [[https://sites.google.com/cfa.harvard.edu/saoimageds9/download|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: For the screen to work properly we use a Nvidia graphic card (Quadro 600). To install is follow this steps:
Line 38: Line 39:
 If you go with a different linux///LabVIEW// version the guide above may not work, but there exists a [[https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGwsCAG&l=en-CH|Guide]] for different verisons of linux///LabVIEW// If you go with a different linux///LabVIEW// version the guide above may not work, but there exists a [[https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGwsCAG&l=en-CH|Guide]] for different verisons of linux///LabVIEW//
  
-===== GPIB-USB =====+===== WADERS ===== 
 +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: 
 +  - pip3 install -r requirements.txt 
 +  - pip3 install . 
 +  - cd ~/Applications/WADERS/bin 
 +  -  chmod +x * 
 +  -  nano ~/.bashrc 
 +  - add the line: export PATH="$PATH:/your/WADERS/directory/bin" 
 +  - source ~/.bashrc 
 +  - sudo nano home/damic/.local/lib/python3.8/site-packages/pysimdamicm/io/data_formats.py 
 +    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)//, the second one is a guide made by the Youtuber  //Tech Tangents//
 + 
 +===== 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 74: Line 93:
   - sudo ln -s /etc/gpib.conf /usr/local/etc/gpib.conf   - sudo ln -s /etc/gpib.conf /usr/local/etc/gpib.conf
   - 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. 
 +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  //Tech Tangents// made a video guide on how to install and use a gpib interface [[https://www.youtube.com/watch?v=OzLHvzzZVKs|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 [[https://linux-gpib.sourceforge.io/|here]].
 +  - Install the kernel
 +      - make
 +      - sudo make install
 +  - Install the user
 +      - ./bootstrap
 +      - ./configure --sysconfdir=/etc
 +      - 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 102: 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:ubuntu-toolchain-r/test
 +  * 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 136: Line 207:
 |  tmux                |  standard repository                                                                                                                                      /usr/share/doc/packages/tmux       | |  tmux                |  standard repository                                                                                                                                      /usr/share/doc/packages/tmux       |
 |  quartus              [[https://www.intel.com/content/www/us/en/software-kit/826843/intel-quartus-prime-pro-edition-design-software-version-24-2-for-linux.html|Intel FPGA]]  |  /home/ccdtest                      | |  quartus              [[https://www.intel.com/content/www/us/en/software-kit/826843/intel-quartus-prime-pro-edition-design-software-version-24-2-for-linux.html|Intel FPGA]]  |  /home/ccdtest                      |
-|  python               standard repository                                                                                                                                      /usr/share/doc/packages/python/    |+|  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. Before you start the tmux session make sure, that the cdaq_env is activated (source cdaq_env/bin/activate) otherwise it will complaine.
software.1726748980.txt.gz · Last modified: by simon