Software Customisation Reference Manual

Event Driven Graphics : Event Control System (edgCntrl) : Change Prompts
-- Check if there are less than 4 elements in the cache
if(!this.cache.size() lt 4) then
-- Increment the prompt of the next pick
!!edgCntrl.setPrompt('Primary prompt', !this.cache.size().string())
-- If there are 4 pick, process the data
else
-- Process the pick data
!this.processData()
-- Initialise Data
!this.cache.clear()
-- Redefine first prompt
!!edgCntrl.setPrompt('Primary prompt', 'pick first point')

endif
Note:
Several of the predefined event packets, maintain the prompts in a more direct manner, these mechanisms MUST NOT be copied by the developer, as they are maintained by the standard product and could potentially change without notification.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo