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/11/25 12:13] – [Leach] simonsoftware [2025/02/05 15:48] (current) – [Youtube Guide] simon
Line 54: Line 54:
  
  
-===== GPIB-USB =====+====== 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 90: 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. 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  //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 181: 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.1732533215.txt.gz · Last modified: by simon