Manuals

Wolfgang's Requirements

On 27.07.2010 Wolfgang expressed the following needs for the ARGOS SW of the power meter:

  1. Ability for one-short measurements.
  2. Ability for continuous measurement.
  3. Display power in number
  4. Display power in graph
  5. Setting of sampling rate
  6. Setting of sample period
  7. total duration <-> units = continuous (Wolfgang: What was the meaning of this?)
  8. The sample period unit is second (fixed).
  9. timestamp= yes (Wolfgang: What do you mean with that?)
  10. The considered wavelength is 532 nm.

Configuration of Serial Port

The P-Link power meter can be attached to the serial port. In that case, the manual says that the following settings are required:

  1. Bit rate: 57600 bit/s
  2. Flow control: false
  3. Number of bits: 8 bit
  4. Number of stop bits: 1
  5. Parity: no

Property Tree of the Device

A sample configuration file can be found in the Basda library (Service/PowerMeter/etc)

Overview

Mandatory Configuration for Communication over TCP/IP

DEV[0-9]*
  • HOSTNAME : string
  • TCP_PORT : int
Mandatory Configuration for Communication over Serial Port

DEV[0-9]*
  • SERIAL_PORT.NAME : string
  • SERIAL_PORT.ENABLE_FLOWCONTROL : bool
  • SERIAL_PORT.LINE_SPEED_IN_BIT_PER_SEC : int
  • SERIAL_PORT.NUM_OF_BITS : int
  • SERIAL_PORT.PARITY : string
Automatically Generated Properties

DEV[0-9]*
  • MEASURED_POWER_IN_WATT: double
    • +TEXT : string
    • +UNIT : string
    • +VALID : bool
  • NAME : string
  • REACHABLE : bool

Details

Communication over TCP/IP
HOSTNAME
the host name or IP address where the power meter is attached on (e.g. "nport-luci3"). This value must not be empty.
TCP_PORT
the TCP port where the driver has to send commands to (e.g. 4001). This value has to be in the interval [1 : 65535].

Communication over The Serial Port
SERIAL_PORT.NAME
the name of the serial port (e.g. "/dev/ttyS0")
SERIAL_PORT.ENABLE_FLOWCONTROL
This flag indicates if flow control must be enabled (e.g. false).
SERIAL_PORT.LINE_SPEED_IN_BIT_PER_SEC
the bitrate of the serial line [bit/s] (e.g. 57600)
SERIAL_PORT.NUM_OF_BITS
The number of data bits (e.g. 8)
SERIAL_PORT.PARITY
The kind of parity must be selected from the set {"even", "odd", "no"} (e.g. "no")

Automatically Generated Properties
MEASURED_POWER_IN_WATT
The measured power in Watt (e.g. 3.14)
MEASURED_POWER_IN WATT +VALID
This attribute indicates if the value in the property MEASURED_POWER_IN_WATT is valid (e.g. true).
MEASURED_POWER_IN_WATT +UNIT
The unit of the property MEASURED_POWER_IN_WATT. This unit must have the constant value "Watt". This property is useful when the user drops the MEASURED_POWER_IN_WATT property into the plot display widget of Ranger.
MEASURED_POWER_IN_WATT +TEXT
The measured power in watt as a string (e.g. 7.380). This attribute has the value Unknown if the measure power property contains an invalid value.
NAME
The name of the power meter specified in the LOAD property (e.g. "foo")
REACHABLE
This flag indicates if the power meter hardware is reachable (e.g. true)

Engineering GUI

Main GUI

The Engineering GUI displays the current measured power in Watt:

powermeter_engineering_gui.png

Plotting the Development of Values

The framework for the engineering GUI, Ranger (formerly DrGreenthumb) provides an area called plot display. When a user drags and drops the property MEASURED_POWER_IN_WATT into this area, Ranger plots the development of the measured values. Here is an example:

developmentOfMeasuredPowerValuesInsideRanger.png
Topic revision: r3 - 31 Jul 2018, AndrewColson
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback