VHSC005N

vhsc005n( id, keyword)
vhsc005n( id, keyword, value)

Talks to the ISEG HV power supply.

e.g.:
* = vhsc005n( hv1, voltageset)
* = vhsc005n( hv1, voltageset, 123)

Here is the list of keywords. 'RW' means that a keyword can be read or written. The first list displays the keywords that control 'module registers'. These registers apply for all channels.

 
Keywords for the board
  VoltageRampSpeed, RW
    In per cent of the NominalVoltage per second. The upper limit is 20%/sec, 
    the lower limit 1mV/s. 
  CurrentRampSpeed, RW  
    not implemented
  VoltageMax, R
    The actual trim potentiometer reading, in per cent. 
    VoltageLimit = VoltageNominal*VoltageMax/100
  CurrentMax, R
    The actual trim potentiometer reading, in per cent. 
    CurrentLimit = CurrentNominal*CurrentMax/100
  SupplyP5, R
    The actual value of the 5 V power supply.
  SupplyP12, R
    The actual value of the +12 V power supply.
  SupplyN12, R
    The actual value of the -12 V power supply.
  Temperature, R
    The actual temperature of the board

The following keyword control individual channels:

Keywords for each channel:
  VoltageSet, RW
    The voltage setpoint, valid in the range 0 to VoltageLimit (see above). 
    The procedure to set a voltage has several steps. First Online writes 
    the ramp speed, the VoltageBounds and the CurrentSet to the module. Then 
    is sets the setpoint and enables the ramp. It waits until the VoltageMeasure 
    reaches VoltageSet within VoltageBounds. 
  CurrentSet, RW
    The current setpoint, valid in the range 0 to CurrentLimit (see above)
  VoltageMeasure, R
    The actual voltage, in V.
  CurrentMeasure, R
    The actual current, in A.
  VoltageBounds, RW
    The voltage deadband.
  CurrentBounds, RW
    The current deadband.
  VoltageNominal, R
    The maximal possible output voltage (500)
  CurrentNominal, R
    The maximal possible output current (0.015)