ANASEN: Difference between revisions

From FSU Fox's Lab Wiki
Jump to navigation Jump to search
Line 20: Line 20:


== SNMP ==
== SNMP ==
More detail can be found in [[:File:Iseg SNMP Programmers Guide.pdf | here]].


in linux, install snmp
In linux, install snmp


  sudo apt install snmp
  sudo apt install snmp


copy the [[:File:WIENER-CRATE-MIB.txt|WIENER-CRATE-MIB.txt]] into /usr/share/snmp/mibs/
copy the [[:File:WIENER-CRATE-MIB.txt|WIENER-CRATE-MIB.txt]] into /usr/share/snmp/mibs/
{|class='wikitable'
! 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 ===
=== example syntax ===
Line 33: Line 52:
  ~>snmpset -v 2c -Op .12 -m +WIENER-CRATE-MIB -c guru 128.186.111.101 outputVoltage.u0 F 0.0
  ~>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
  WIENER-CRATE-MIB::outputVoltage.u0 = Opaque: Float: 0.000000000000 V
More detail can be found in [[:File:Iseg SNMP Programmers Guide.pdf | here]].
.

Revision as of 19:52, 14 July 2022

HV supply

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

IP

128.186.111.101

Iseg HV with Wiener Mpod

to control the Mpod-C via USB (say, setting up the IP), in Windows, install the MUSEController.

SNMP

More detail can be found in here.

In linux, install snmp

sudo apt install snmp

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