Navigation: Scripting Reference Manual > Functions & Subroutines > ARNSetPowerUnits

 

ARNSetPowerUnits

 

Contact Us: fredsupport@photonengr.com

 

Description

This subroutine sets the power units header entry for an ARN.

 

Syntax

ARNSetPowerUnits arnNode, pUnits

 

 

Parameters

arnNode As Long

Node number of the ARN whose power units are being modified.

 

pUnits As String

Power units string being specified and applied to the ARN.

 

 

Example

The following example sets the ARN power units string and prints a status message to the output window.

 

Sub Main

 

    Dim arnNode As Long

    arnNode = ARNFindName( "Irradiance 1" )

 

    Dim pUnits As String

    pUnits = "Watts"

    ARNSetPowerUnits arnNode, pUnits

 

    Print "ARN power units set to: " & pUnits

 

End Sub

 

 

See Also

ARN Script Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC