...
Connect a USB Type B on the back of the electrometer to the laptop
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.
Turn on the keysight electrometer (see apparatus manual for instructions)After that, the electrometer should pop-
USB Connectivity
For Windows, make sure you installed XXX; after you connect the electrometer USB cable, windows should pop up as an external driver (hard disk)
Make sure you have install keysight commander
With keysight commander discover what is the name of the instrument USB
- Run the python
.
For Linux os, you might need to set up the driver manually. The USB setup is explained here.
Run the Python script keysight_usb_connection.py and uncomment the line with the function
find_instrument
.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 | ||
---|---|---|
| ||
> 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 | ||
---|---|---|
| ||
> 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 | ||
---|---|---|
| ||
> 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
...