Dialog View Global JScript Variable
Previous  Top  Next

Global JScript variables enable to share values of variables between different JScript functions called by data pre-processing in SNMP OPC server.
They can be defined as scalar variables or as arrays. Please see example of working with global JScript variables.

globalvar
Figure: Dialog view to define a global JScript variable.

Name
arbitrary within address space unique name of the OPC Item that does not contain spaces. It can be edited by hand, imported on line from device or off line from MIB file of a device (the characters like *, ., /, -, :, _, ;, " are not allowed).  

Description
Informative string to explain global variable  
 
Variable properties

Data Type  
Following data types for a variable can be chosen from list box: BOOL, DOUBLE, FLOAT, LONG, STRING, ULONG  
 
Default value  
Default value of the scalar variable or all values in array  
 
ARRAY  
If checked in array of global variable will be created instead of scalar variable  
 
Number of elements  
Number of elements in array of global variables.  

 


Send feedback on this topic.
Copyright © 2004-2013, SAE - Automation, s.r.o. (Ltd.), All rights reserved.