Navigation: Scripting Reference Manual > Functions & Subroutines > ARNComputeTotalPower

 

ARNComputeTotalPower

 

Contact Us: fredsupport@photonengr.com

 

Description

Computes the total power contained in the data of an ARN.

 

Syntax

totPower = ARNComputeTotalPower( arnNode )

 

Parameters

totPower (Double)

Numeric value of the total power contained in the data of the ARN.

 

arnNode As long

Node number of the ARN being queried.

 

Example

The following example queries an existing ARN for its total power and data units and then prints the results to the output window.

 

Sub Main

 

    Dim totPower As Double

    Dim units As String

   

    totPower = ARNComputeTotalPower( arnNode )

    units    = ARNGetDataUnits( arnNode )

   

    Print "Total Power:          " & totPower & "          " & units

 

End Sub

 

See Also

All ARN Scripting Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC