Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All the functions listed here are used to manipulate the Event Tree which is used to stored dynamic information and data like scheduler events, server alarms, ... <file name="nxa.LinkXEventToTemplate">
<h1>Description - INTERNAL DOCUMENTATION</h1>
<h1>Signature</h1>

Description - INTERNAL DOCUMENTATION

Signature

nxa.LinkXEventToTemplate (eventWid, templateName) <p>This

This function is used to link a template to an XEvent. </p>
<h1>Parameters</h1>
<table>
<colgroup> <col/> <col/> <col/> <col/> </colgroup>
<tbody>
<tr>
<th>Name</th>
<th>Type</th>
<th>Mandatory/Optional</th> <th>Description</th>
</tr>
<tr><td></td><td>eventWid</td><td>M</td><td>ID

Parameters

NameTypeMandatory/OptionalDescription
 eventWidMID of the event to which the template shall be

...

applied
 templateNameMName of the template

Return

None.

Description - INTERNAL DOCUMENTATION

Signature

nxa.LinkXEventBranchToTemplate (eventWid, templateName) <p>This

This function is used to link a template to a branch. </p>
<h1>Parameters</h1>
<table>
<colgroup> <col/> <col/> <col/> <col/> </colgroup>
<tbody>
<tr>
<th>Name</th>
<th>Type</th>
<th>Mandatory/Optional</th>
<th>Description</th>
</tr>
<tr><td></td><td>eventWid</td><td>M</td><td>ID

Parameters

NameTypeMandatory/OptionalDescription
 eventWidMID of the branch to which the template shall be

...

applied
 templateNameMName of the template

Return

None.

Description - INTERNAL DOCUMENTATION

Signature

nxa.SetXProperties (eventWid, propName1, propValue1, ...) <p>This

This function is used to change a property of an event within the event tree.</p>
<h1>Parameters</h1>
<table>
<colgroup> <col/> <col/> <col/> <col/> </colgroup>
<tbody>
<tr>
<th>Name</th>
<th>Type</th>
<th>Mandatory/Optional</th>
<th>Description</th>
</tr>
<tr><td></td><td>eventWid</td><td>M</td><td>ID

Parameters

NameTypeMandatory/OptionalDescription
 eventWidMID of the event to which the property belongs

...

to
 propName1MName of property 1
 propValue1MValue of property 1
 ...

Return

None.

Description - INTERNAL DOCUMENTATION

Signature

nxa.nxa.NewXBranch(STRING vName, WID vMajorBranch) (name, majorBranch) <p>This

This function is used to create a new branch within the event tree.</p>
<h1>Parameters</h1>
<table>
<colgroup> <col/> <col/> <col/> <col/> </colgroup>
<tbody>
<tr>
<th>Name</th>
<th>Type</th>
<th>Mandatory/Optional</th>
<th>Description</th>
</tr>
<tr><td></td><td>name</td><td>M</td><td>name of new branch</td></tr>
<tr><td></td><td>majorBranch</td><td>M</td><td>WID of major branch</td></tr>
</tbody>
</table>
<h1>Return</h1> None.
</file>
<file name="nxa.NewXEvent">
<h1>Description - INTERNAL DOCUMENTATION</h1>
<h1>Signature</h1>

Parameters

NameTypeMandatory/OptionalDescription
 nameMname of new branch
 majorBranchMWID of major branch

Return

None.

Description - INTERNAL DOCUMENTATION

Signature

nxa.NewXEvent (type, name, description, majorBranch) <p>This

This function is used to change a property of an event within the event tree.</p>
<h1>Parameters</h1>
<table>
<colgroup> <col/> <col/> <col/> <col/> </colgroup>
<tbody>
<tr>
<th>Name</th>
<th>Type</th>
<th>Mandatory/Optional</th> <th>Description</th>
</tr>
<tr><td></td><td>type</td><td>M</td><td>event

Parameters

NameTypeMandatory/OptionalDescription
 typeMevent type.Timer = 1, Cyclical = 2, Reactor

...

= 3, Scene = 4, Calendar = 5, Alarm = 6, Trending = 7, Device = 8, User =

...

9
 nameMname of new event
 descriptionMdescription of new event
 majorBranchMWID of major branch

Return

None.