Promotic

Object PmaSequencer (Sequence processing)

Description:
See: PmaSequencer - Deatiled object description

The object serves for processing the sequence, time or asynchronous operations.

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 inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
Add()Adds new item into the queue
GetItemValue()Returns values of the first/last item
MaxSizeMaximum number of waiting items
Release()It prematuraly releases waiting items
Remove()Removes waiting items
RunningActual number of running items
SizeActual number of waiting items
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:
onStepIs triggered when the item is released
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
MethodsDefinition of designer's method of the object
SequencerBasic parameters settings

History:
Pm9.00.12: Fixed bug: Bugfix of sequencer running in another thread.
Pm9.00.00: Object name changed: PmSequencer -> PmaSequencer
Pm8.01.10: If the object was set to run in another thread, then sometimes the GU of the application froze.
Pm8.01.02:
- The multi thread script error has been fixed. The patch has also been included into the version Pm8.0.13.
- New "The stopping timeout before termination of the working thread [s]" configurator allows to enter the timeout for forced termination of running item while the application is stopping.
Pm8.00.13:
- The multi thread script error has been fixed. The patch has also been included into the version Pm8.0.13.
- New "The stopping timeout before termination of the working thread [s]" configurator allows to enter the timeout for forced termination of running item while the application is stopping.
Pm8.00.03: The Add method has a new additional Params parameter, that specifies whether the added request should run in the basic or work thread.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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