Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Connect a USB Type B on the back of the electrometer to the laptop

  2. The USB cable is connected to a USB hub that goes into the USB-C power entry of the laptop. This step is needed because the laptop does not accept a high-voltage entry through USB.

  3. Turn on the keysight electrometer (see apparatus manual for instructions)After that, the electrometer should pop-

  4. USB Connectivity

    1. For Windows, ensure you install the Commander expert software. After you connect the electrometer USB cable, Windows should pop up as an external driver (hard disk)

  5. Make sure you have install keysight commander

  6. With keysight commander discover what is the name of the instrument USB

  7. Run the python
    1. .

    2. For Linux os, you might need to set up the driver manually. The USB setup is explained here.

  8. Run the Python script keysight_usb_connection.py and uncomment the line with the function find_instrument.

  9. Check the USB name and copy it. Then, paste it on the examples/config.py script.

USB Keysight Linux Setup

Given that the USB type-b cable is well setup, type

Code Block
languagebash
> lsusb | grep Agilent
Bus 003 Device 054: ID 0957:d618 Agilent Technologies, Inc. FingerPrint

Then, with the printout information, you will write a Udev rule.

Code Block
languagebash
> sudo nano /etc/udev/rules.d/99-usb.rules

Write the info about your device on the USB rules file, here is an example:

Code Block
SUBSYSTEM=="usb", ATTR{idVendor}=="0957", ATTR{idProduct}=="d618", MODE="0666"

You should replace the idVendor and idProduct with the appropriate values.

Then, reload the Udev rules.

Code Block
languagebash
> sudo udevadm control --reload-rules
> sudo udevadm trigger

Ready? Now you should be able to find the electrometer in your Python code.

AltAz iOptron - Python Interface

...