Actions

Difference between revisions of "%udd"

From Zenitel Wiki

Line 1: Line 1:
%udd( , ) : [[Event_Handler]] macro - read [[UDD|User Defined Data]]
+
The '''%udd''' macro is used in the [[Event Handler]] to read the value of an [[UDD]] (User Defined Data variable). Text formatting parameters can be added at the end.
  
Format: '''%udd(index)'''
 
  
Returns the User Defined Data out of the location ''index''.
+
===Syntax===
 +
'''%udd(index)'''
  
User Defined Data is written either asynchronously with DP message [[WRITE_USER_DEF_DATA]] ($WUDD), or synchronously with EventHandler statement [[wudd]]
+
Returns the content of UDD at the location ''index''.
 +
* index:  0 – 6000 ( 0 - 600 before AMC 9.01)  
  
Read an UDD variable
+
===Examples===
%UDD(index) : Command string macro to get value of User Defined Data. Text formatting parameters can be added at the end.
+
%udd(8)          - ''Read the content of UDD variable 8''
 +
%udd(%1.phy)     - ''Read the content of UDD variable in location...''
  
 +
=== See also ===
 +
 +
'''Applications were UDD is used:'''
 +
* [[CCTV control by relays (RCO) when using Call Request]]
 +
 +
'''Related articles:'''
 +
*Data message to write to UDD: [[WRITE_USER_DEF_DATA|$WUDD]]
 +
*Macro to read UDD: [[%udd]]
 +
*Variable for text string: [[tmp statement|tmp]]
  
  

Revision as of 15:26, 4 April 2008

The %udd macro is used in the Event Handler to read the value of an UDD (User Defined Data variable). Text formatting parameters can be added at the end.


Syntax

%udd(index)

Returns the content of UDD at the location index.

  • index: 0 – 6000 ( 0 - 600 before AMC 9.01)

Examples

%udd(8)           - Read the content of UDD variable 8
%udd(%1.phy)      - Read the content of UDD variable in location...

See also

Applications were UDD is used:

Related articles:

  • Data message to write to UDD: $WUDD
  • Macro to read UDD: %udd
  • Variable for text string: tmp


Back to Event_Handler#List_of_macros.