Ejemplo n.º 1
0
 class lfrequency(GenericGetSetCommandClass):
     """Sets the instrument‟s line frequency setting to 50 or 60Hz.
     (SCPI Vol.2 §21.13)
     """
     cmd = 'System:LFRequency'
     full_acces = 'system.lfrequency'
     value = Argument(0, ["<numeric_value>"])
Ejemplo n.º 2
0
 class threshold(GenericGetSetCommandClass):
     """Sets the trigger level in % for the energy mode
     """
     cmd = 'Sense:Peakdetector:THReshold'
     full_acces = 'sense.peakdetector.threshold'
     value = Argument(
         0, ["MINimum", "MAXimum", "DEFault", "<numeric_value>nm"])
Ejemplo n.º 3
0
 class enable(GenericGetSetCommandClass):
     """Program the enable register"""
     cmd = 'Status:Questionable:ENABle'
     full_acces = 'status.questionable.enable'
     value = Argument(0, ["<value>"])
Ejemplo n.º 4
0
 class contrast(GenericGetSetCommandClass):
     """Set the display contrast. (SCPI Vol.2 §8.4) // PM100D only"""
     cmd = 'Display:CONTrast'
     full_acces = 'display.contrast'
     value = Argument(0, ["<value>"])
Ejemplo n.º 5
0
 class state(GenericGetSetCommandClass):
     """Sets the thermopile accelerator state"""
     cmd = 'Input:Thermopile:Accelerator:STATe'
     full_acces = 'input.thermopile.accelerator.state'
     value = Argument(0, ["OFF", "0", "ON", "1"])
Ejemplo n.º 6
0
 class type(GenericSetCommandClass):
     """Sets default sensor adapter type"""
     cmd = 'Input:Adapter:TYPE'
     full_acces = 'input.adapter.type'
     value = Argument(0, ["PHOTodiode", "THERmal", "PYRo"])
Ejemplo n.º 7
0
 class wavelength(GenericGetSetCommandClass):
     """Sets the operation wavelength in nm"""
     cmd = 'Sense:Correction:WAVelength'
     full_acces = 'sense.correction.wavelength'
     value = Argument(0, ["MINimum", "MAXimum", "<numeric_value>nm"])
Ejemplo n.º 8
0
 class beamdiameter(GenericGetSetCommandClass):
     """Sets the beam diameter in mm"""
     cmd = 'Sense:Correction:BEAMdiameter'
     full_acces = 'sense.correction.beamdiameter'
     value = Argument(
         0, ["MINimum", "MAXimum", "DEFault", "<numeric_value>mm"])
Ejemplo n.º 9
0
 class response(GenericGetSetCommandClass):
     """Sets the pyro-detector response value in V/J"""
     cmd = 'Sense:Correction:Energy:Pyro:RESPonse'
     full_acces = 'sense.correction.energy.pyro.response'
     value = Argument(0,
                      ["MINimum", "MAXimum", "DEFault", "<numeric_value>V"])
Ejemplo n.º 10
0
 class unit(GenericGetSetCommandClass):
     """Sets the power unit W or dBm"""
     cmd = 'Sense:Power:Dc:UNIT'
     full_acces = 'sense.power.dc.unit'
     value = Argument(0, ["W", "DBM"])
Ejemplo n.º 11
0
 class ptransition(GenericGetSetCommandClass):
     """Program the positive transition filter"""
     cmd = 'Status:Questionable:PTRansition'
     full_acces = 'status.questionable.ptransition'
     value = Argument(0, ["<value>"])
Ejemplo n.º 12
0
 class value(GenericGetSetCommandClass):
     """Sets a delta reference value in J"""
     cmd = 'Sense:Energy:Reference:value'
     full_acces = 'sense.energy.reference.value'
     value = Argument(0,
                      ["MINimum", "MAXimum", "DEFault", "<numeric_value>J"])
Ejemplo n.º 13
0
 class upper(GenericGetSetCommandClass):
     """Sets the energy range in J"""
     cmd = 'Sense:Energy:Range:UPPer'
     full_acces = 'sense.energy.range.upper'
     value = Argument(0, ["MINmum", "MAXimum", "<numeric_valuje>J"])
Ejemplo n.º 14
0
 class date(GenericGetSetCommandClass):
     """Sets the instrument‟s calendar. (SCPI Vol.2 §21.7) // PM100D only"""
     cmd = 'System:DATE'
     full_acces = 'system.date'
     value = Argument(0, ["<year>,<month>,<day>"])
Ejemplo n.º 15
0
 class time(GenericGetSetCommandClass):
     """Sets the instrument‟s clock. (SCPI Vol.2 §21.19) // PM100D only"""
     cmd = 'System:TIME'
     full_acces = 'system.time'
     value = Argument(0, ["<hour>,<min>,<sec>"])
Ejemplo n.º 16
0
 class response(GenericGetSetCommandClass):
     """Sets the photodiode response value in A/W"""
     cmd = 'Sense:Correction:Power:Pdiode:RESPonse'
     full_acces = 'sense.correction.power.pdiode.response'
     value = Argument(0,
                      ["MINimum", "MAXimum", "DEFault", "<numeric_value>A"])
Ejemplo n.º 17
0
 class magnitude(GenericGetSetCommandClass):
     """Sets a user attenuation factor in dB"""
     cmd = 'Sense:Correction:Loss:Input:MAGNitude'
     full_acces = 'sense.correction.loss.input.magnitude'
     value = Argument(0,
                      ["MINimum", "MAXimum", "DEFault", "<numeric_value>"])
Ejemplo n.º 18
0
 class count(GenericGetSetCommandClass):
     """Sets the averaging rate (1 sample takes approx. 3ms)"""
     cmd = 'Sense:Average:COUNt'
     full_acces = 'sense.average.count'
     value = Argument(0, ["<value>"])
Ejemplo n.º 19
0
 class ptransition(GenericGetSetCommandClass):
     """Program the positive transition filter"""
     cmd = 'Status:Auxillary:PTRansition'
     full_acces = 'status.auxillary.ptransition'
     value = Argument(0, ["<value>"])
Ejemplo n.º 20
0
 class state(GenericGetSetCommandClass):
     """Switches to delta mode"""
     cmd = 'Sense:Current:Dc:Reference:STATe'
     full_acces = 'sense.current.dc.reference.state'
     value = Argument(0, ["OFF", "0", "ON", "1"])
Ejemplo n.º 21
0
 class enable(GenericGetSetCommandClass):
     """Program the enable register"""
     cmd = 'Status:Auxillary:ENABle'
     full_acces = 'status.auxillary.enable'
     value = Argument(0, ["<value>"])
Ejemplo n.º 22
0
 class value(GenericGetSetCommandClass):
     """Sets a delta reference value in A"""
     cmd = 'Sense:Current:Dc:Reference:value'
     full_acces = 'sense.current.dc.reference.value'
     value = Argument(0,
                      ["MINimum", "MAXimum", "DEFault", "<numeric_value>A"])
Ejemplo n.º 23
0
 class auto(GenericGetSetCommandClass):
     """Switches the auto-ranging function on and off"""
     cmd = 'Sense:Voltage:Dc:Range:AUTO'
     full_acces = 'sense.voltage.dc.range.auto'
     value = Argument(0, ["OFF", "0", "ON", "1"])
Ejemplo n.º 24
0
 class upper(GenericGetSetCommandClass):
     """Sets the current range in V"""
     cmd = 'Sense:Voltage:Dc:Range:UPPer'
     full_acces = 'sense.voltage.dc.range.upper'
     value = Argument(0, ["MINmum", "MAXimum", "<numeric_valuje>V"])
Ejemplo n.º 25
0
 class tau(GenericGetSetCommandClass):
     """Sets thermopile time constant tau(0-63%) in s"""
     cmd = 'Input:Thermopile:Accelerator:TAU'
     full_acces = 'input.thermopile.accelerator.tau'
     value = Argument(0,
                      ["MINimum", "MAXimum", "DEFault", "<numeric_value>s"])
Ejemplo n.º 26
0
 class reference(GenericGetSetCommandClass):
     """Sets a delta reference value in V"""
     cmd = 'Sense:Voltage:Dc:REFerence'
     full_acces = 'sense.voltage.dc.reference'
     value = Argument(0,
                      ["MINimum", "MAXimum", "DEFault", "<numeric_value>V"])
Ejemplo n.º 27
0
 class state(GenericGetSetCommandClass):
     """Sets the bandwidth of the photodiode input stage"""
     cmd = 'Input:Pdiode:Filter:Lpass:STATe'
     full_acces = 'input.pdiode.filter.lpass.state'
     value = Argument(0, ["OFF", "0", "ON", "1"])
Ejemplo n.º 28
0
 class state(GenericGetSetCommandClass):
     """Switches to delta mode"""
     cmd = 'Sense:Voltage:Dc:STATe'
     full_acces = 'sense.voltage.dc.state'
     value = Argument(0, ["OFF", "0", "ON", "1"])
Ejemplo n.º 29
0
 class brightness(GenericGetSetCommandClass):
     """Set the display birghtness. (SCPI Vol.2 §8.2)"""
     cmd = 'Display:BRIGhtness'
     full_acces = 'display.brightness'
     value = Argument(0, ["<value>"])
Ejemplo n.º 30
0
 class state(GenericGetSetCommandClass):
     """Activate/deactivate the beeper. (SCPI Vol.2 §21.2.3)"""
     cmd = 'System:Beeper:STATe'
     full_acces = 'system.beeper.state'
     value = Argument(0, ["ON", "1", "OFF", "0"])