Promotic

Object PmaString (Text string)

Description:
The object represents one text value of the String type. Thus defined value is the variable of the PROMOTIC system that can be used anywhere in the script and it can be shared by other applications as well for example using DDE.
This object is obsolete (but functional) and it is better to use the PmaData object.

No other Pma objects can be created in this object.
This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.
This object adds one variable into the calculation of the application size, which influences the basic runtime licence type/size (see: Licences for PROMOTIC runtime environment).
This object inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
DdeClientEnabledEnable/disable sharing the object value as a DDE client
IsReadOnlyDetects whether the object is read only
TitleText string that describes the value of this object in more details
ValueString value of this object
Properties and methods inherited from the PmaObject object:
AddEvent()Registers a function into the specified event
GetInfo()Returns the Info object with the specified name
GetOwnedByIndex()Returns the subobject defined by its index
GetOwnedByName()Returns reference to the subobject defined by its name
GetOwnedByType()Array of references to the subobjects
GetOwnedNum()Returns number of subobjects in the object
GetPar()Reading the value of the Pma object parameter (or its parents)
GetPathName()Object name with the path to this object
GetPermission()Returns permission of corresponding operation from object
MethodsAccess to designer's methods of this object
NameObject name (without the path)
ParentReturns reference to the parent Pma object
Pm()Returns reference to the Pma object or to its implementation subobject
RemoveEvent()Unregisters the function in the specified event
RootReturns reference to the root application object PmaRoot
Events of this object:
onValueWriteIs triggered after writing the value into this object
Events inherited from the PmaObject object:
onStartIs triggered for each object in runtime only once at the beginning
onStopIs triggered for each Pma object in runtime only once at the stop of the application
Configuration tabs:
ObjectGeneral information about the object
EventsDefinition of object events algorithms
StringBasic parameters settings
DDEDefinition of conditions for DDE sharing the variables
See also:
- PmaNumber (object)
- PmaData (object)
- PmaDataTable (object)

History:
Pm9.00.00: Object name changed: PmString -> PmaString
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.