Python Iseg HV controller
The Iseg HV modules are using Mpod crate. A Mpod-C (controller) is used to control the HV module.
The Mpod-C can be controlled via ethernet, USB, or CAN. For the ethernet, it requires an IP.
GUI control and monitor
https://fsunuc.physics.fsu.edu/git/rtang/IsegSNMPGUI
The GUI also push monitor values to database and display on Grafana https://fsunuc.physics.fsu.edu/grafana/d/JG7ADC67z/iseg-hv-monitor?orgId=1&refresh=5s
Iseg HV with Wiener Mpod
to control the Mpod-C via USB (say, setting up the IP), in Windows, install the MUSEController.
IP address
ANASEN : 208
Catrina : 101
SNMP
More detail can be found in here.
In linux, install snmp
sudo apt install snmp snmp-mibs-downloader
copy the WIENER-CRATE-MIB.txt into /usr/share/snmp/mibs/
Name | Type | Unit | Read/Write | Comment |
---|---|---|---|---|
outputVoltage | Float | V | R/W | Set voltage |
outputCurrent | Float | A | R/W | Set trip current |
outputMeasurementSenseVoltage | Float | V | R | Sense output voltage |
outputMeasurementCurrent | Float | A | R | Leakage current |
outputSwitch | Integer | R/W | 0 = off, 1 = on, 2 = reset Emergency Off, 3 = set emergenct Off, 10 = clear events | |
outputVoltageRiseRate | Float | V/s | R/W | |
outputVoltageFallRate | Float | V/s | R/W |
example syntax
~>snmpget -v 2c -Op .12 -m +WIENER-CRATE-MIB -c guru 128.186.111.101 outputMeasurementSenseVoltage.u1 WIENER-CRATE-MIB::outputMeasurementSenseVoltage.u1 = Opaque: Float: 0.000000000000 V
~>snmpset -v 2c -Op .12 -m +WIENER-CRATE-MIB -c guru 128.186.111.101 outputVoltage.u0 F 0.0 WIENER-CRATE-MIB::outputVoltage.u0 = Opaque: Float: 0.000000000000 V
Python GUI for control and monitor
https://fsunuc.physics.fsu.edu/git/rtang/IsegSNMPGUI
This program should be suitable for all Iseg HV modules using Mpod-C with SNMP protocal.
The only hard-coded thing is the Mpod-C IP, and the database IP and name.