TwiceAsNice  2019-02-18
Functions | Variables
printPower_sapi Namespace Reference

Functions

def main ()
 

Variables

string REMOTE_ROOT_NAME = "POWERMETERS.POWER_METERS"
 

Detailed Description

@brief This sapi script queries one power meters, prints the
   current measured value and then exits.
   
   The variable REMOTE_ROOT_NAME needs to be adapted to the basda service.
   
Invocation example:
sapi "--POWERMETERS.CONFIG:Endpoint=[NAME=PowerMeters.CONFIG, HOST=127.0.0.1, PORT=10031]" --PYTHON=./printPower_sapi.py

Function Documentation

◆ main()

def printPower_sapi.main ( void  )

Variable Documentation

◆ REMOTE_ROOT_NAME

string printPower_sapi.REMOTE_ROOT_NAME = "POWERMETERS.POWER_METERS"