InTouchViewApp Object.docx
《InTouchViewApp Object.docx》由会员分享,可在线阅读,更多相关《InTouchViewApp Object.docx(37页珍藏版)》请在冰豆网上搜索。
InTouchViewAppObject
InTouchViewAppObject
TheInTouchViewAppobjectrepresentsanInTouchapplicationintheWonderwareApplicationServerenvironment.TheInTouchViewAppobjectmanagesthecheck-in,check-out,anddeploymentofanInTouchapplication.
TheInTouchViewAppobjectincludesthecapabilitiesoftheApplicationServer2.1InTouchProxyobject,sothatInTouchtagscanbereferencedbyApplicationServer(MessageExchange)clientsasInTouchViewAppattributes.
Formoreinformation,clickonaHelptopic.
∙Overview
∙Run-TimeBehavior
∙Configuration
∙Run-TimeObjectAttributes
Overview
TheInTouchViewAppobjectisusedtoincorporateInTouchapplicationsintoanoverallsystemdefinedbyaWonderwareApplicationServerGalaxy.TheApplicationServersystemmanages:
∙Check-inandcheck-outformultipleusers.
∙SecurityrestrictionsonwhocandeploytheInTouchapplicationandwhentheInTouchapplicationcanbedeployed.
∙Backupandrestore.
∙Deploymentandundeployment.
ManagedInTouchapplicationsassociatedwiththeInTouchViewAppcanalsocontainArchestrAgraphicsdesignedwithintheApplicationServerIDE.
TheInTouchViewAppobjectallowsapplicationobjectsrunningonaViewEngineobjecttoaccessInTouchtagsasiftheywereApplicationServerattributesoftheInTouchViewAppobjectitself.ThetagsarebrowsableviathestandardApplicationServerattributebrowser.
YoucreateanInTouchapplicationbyderivinganInTouchViewAppobjectfromthestandardtemplate"$InTouchViewApp".Youaregiventhechoiceofstartinganewapplication,orcreatingacopyofanexisitingapplication.Eitherway,openinganInTouchViewAppobjectlaunchesWindowMaker.ThereisnoobjecteditorfortheInTouchViewAppobject.
ThemostsignificantchangetoWindowMakeristhatArchestrAgraphicscreatedwithintheApplicationServerenvironmentcannowbeaddedtoInTouchwindows.
AnewdialogtabunderSpecial/Configure/WindowViewercalledManagedcontainssettingssimilartotheInTouchNADfeaturethatcanbeconfiguredtochangethedeploymentbehavior.
YoucanassignmultipleInTouchViewAppobjectstothesameViewEngineobjecttomakemultipleInTouchapplicationsavailableonanode.
TorunanInTouchapplicationonanApplicationServerplatform:
∙CreateandassignaViewEngineobjecttoaplatform.
∙CreateaninstanceoftheInTouchViewAppobjectfromthetemplatethatdefinestheInTouchapplication.
∙AssigntheInTouchViewAppobjecttotheViewEngineobject.
∙DeploytheViewEngineobjectandtheInTouchViewAppobjectsassignedtotheViewEngineobject.
∙RuntheInTouchApplicationManagertoselecttheapplicationandrunWindowViewer.Thisonlyneedstobedonethefirsttime.
ExistingInTouchApplications
WhenyoucreateanInTouchViewAppobjecttohandleanexistingInTouchapplication,theInTouchapplicationfilesaretransferredtoafilerepositorydirectory.TheoriginalInTouchapplicationfilesarenotmodifiedordeleted.
Youshouldnotaccessfilesinthefilerepositorydirectlyormakeassumptionsaboutthefilerepositorystructure.
WhenyoumakechangestotheInTouchViewAppInTouchapplicationusingWindowMakerlaunchedfromtheIDE,theoriginalInTouchapplicationisnotchanged.
OnceyouhavecreatedtheInTouchViewAppobject,deletingtheoriginalInTouchapplicationdoesnoteffecttheInTouchViewAppobject’sapplication.
IfyoudeleteanInTouchViewAppobjectthatrepresentsanexistingInTouchapplication,theapplicationfilesareremovedfromthefilerepositorydirectory,buttheexistingapplicationisnotaffected.
NewInTouchApplications
WhenyoucreateanInTouchViewAppobjectforanewInTouchapplication,WindowMakerisstartedbytheIDE.YoucreatetheapplicationthesamewayyouwouldifWindowMakerhadbeenstartedfromtheInTouchapplicationmanager.
InTouchViewAppObjectRules
SomekeyaspectsofanInTouchViewAppobjectinclude:
∙YoucannotcreateInTouchViewAppinstancesfromtheInTouchViewAppbasetemplate.
∙YoucanderiveonlyonelevelofInTouchViewApptemplatefromthebaseInTouchViewApptemplate.
∙YoucannotderiveaninstanceoftheInTouchViewAppfromanexistinginstanceoftheInTouchViewApp.
∙InTouchViewAppobjectscannothostotherobjects.
∙OnlyViewEngineobjectscanhostanddeployInTouchViewAppobjects.
∙IntheModelview,youcanassignanInTouchViewAppobjecttoanAreaobjectifyouwanttheInTouchViewAppobject’salarmstobelongtothatarea.
∙UndeploymentofanInTouchViewAppobjectisnotpermittedifitiscurrentlyloadedonatargetnode.
∙WhenthefilecopyingprocessattheendofanInTouchViewAppobjectdeploymentisstillunderway,theonlyallowableoperationistoundeploytheobject.Thiswillcancelthedeploymentandremoveanypartiallycopiedfiles.
Forgeneralinformationonobjects,includingrelationships,deployment,andalarmdistribution,seetheIntegratedDevelopmentEnvironment(IDE)documentation.
RelatedTopics
Run-TimeBehavior
Configuration
Run-TimeObjectAttributes
Run-TimeBehavior
AnInTouchViewAppobjecthasnorun-timespecificbehaviors.TheInTouchapplicationassociatedwiththeInTouchViewAppobjecthandlesallrealtimeactivities.
Noobjectstateinformation,suchasStartUporGoingOnScan,isavailableforanInTouchViewAppobject.
TherearelimitsonanInTouchViewAppobject’sabilitytoaccessInTouchdata.
∙DatacomingfromInTouchtagsusedbyanArchestrAobjectmaytakeuptothirtysecondstodisplaynewvalueswhenadeployedInTouchViewAppobjectisshutdownandthenre-started.
∙AnArchestrAObjectcannotconnecttoInTouchtagscomingfromandInTouchViewAppiftheappisswitchedtoruntimefromtheIDE.TheInTouchViewAppmustbedeployedforthereferencestoconnect.
∙AnInTouchViewAppobjectcannotestablishadataconnectiontoanInTouchapplicationrunninginaterminalsession.
RelatedTopics
Overview
Configuration
Run-TimeObjectAttributes
Configuration
YouedittheInTouchViewAppobjectusingWindowMaker.
Forgeneralinformationonobjects,includingrelationships,deployment,andalarmdistribution,seetheIntegratedDevelopmentEnvironment(IDE)documentation.
RelatedTopics
Overview
Run-TimeBehavior
Run-TimeObjectAttributes
Run-TimeObjectAttributes
Thefollowingtabledescribestherun-timeonlyattributesfortheInTouchViewAppobject.
Attribute
Description
Run-TimeAccess
(Supervisory,User,Read-Only,None)
DeploymentInProgress
ThisattributeistruewhiletheInTouchViewAppobjectisbeingdeployed.
InTouchapplicationfilesaredeployedtotargetnodesasynchronouslytoavoidblockingtheIDEwhendeployingalargeapplicationonaslownetwork.
Evenafterthedeploymentisreportedas"complete"bytheIDE,itmaytakesometimebeforethedeploymentistrulyfinished.TheDeploymentInProgressattributeandaspecialIconfortheInTouchViewAppwithintheIDEbothindicatethatthefileshavenotfinishedtransferring.
Read-Only
LastModified
ContainsthedatetheInTouchapplicationwaslastchanged.
Read-Only
_SyncStatus
This"hidden"attributeisavailablefordiagnosticsandprovidesatextmessagethatmaybehelpfulinovercomingissuesrelatedtotheasynchronousfilecopyingprocess.
Read-Only
Connected(boolean)
ConnectionStatus
ThisbooleanandenumerationindicateiftheInTouchViewAppobjectiscommunicatingwithWindowViewer.Ifnot,mostlikelytheViewEngineobjectisnotrunning.
Read-Only
RelatedTopics
Overview
Run-TimeBehavior
Configuration
©2002-2008InvensysSystems,Inc.AllRightsReserved.
10/31/08
ObjectExtensions
Useobjectextensionstoaddfunctionalitytoanobjectwhilenotalteringitsoriginalbehavior.Objectextensionsarecommontoallobjectconfigurationeditors.
Formoreinformation,clickonaHelptopic.
•
Overview
•
Run-TimeBehavior
•
Configuration
•
Run-TimeObjectAttributes
•
MiscellaneousObjectAttributes
Overview
Eachobject'seditordisplaystwosetsofconfigurationoptions:
commonandcustom.ThecommonoptionsareshownontheObjectInformation,Script,UDA,ExtensionsandGraphicstabs.Thecontentofthecustomtabsisdependentontheobject'sfunctionality.
Note:
Objectextensionscanbeaddedtoderivedtemplatesandobjectinstancesonly.Basetemplatescannotbeextended.
AllobjectsintheArchestrAenvironmentarecomprisedofasetofattributesthattogetherproduceuniquefunctionality.Asoriginallydeveloped,eachobject'sfunctionalityisfiniteandusableinthatstate.Youmaywanttoincreaseanobject'sfunctionality,andtheobjectextensioneditoroptionsgiveyouthatflexibility.
Formoredetailedinformationaboutextendingthefunctionalityofanobject,see"WorkingwithObjectExtensions"intheIntegratedDevelopmentEnvironment(IDE)documentation.ToaccessthisdocumentationwithintheIDE,ontheHelpmenu,clickHelpTopics.
RelatedTopics
Run-TimeBehavior
Configuration
Run-TimeObjectAttributes
Run-TimeBehavior
Run-timebehaviorforanobjectextensiondependsonthetypeofextensionbeingaddedtotheobject.Onceanextendedobjectisdeployedandoperating,thefollowingbehaviorcanbeexpected:
Extension
Behavior
Script
ForStartup,OnScan,OffScanandShutdownexecutiontypes,scriptsexecutewhenthoseeventsoccurfortheobjectbeingextended.FortheExecuteexecutiontype,thescriptexecuteswhentheExpression,TriggerType,TriggerPeriodand/orDeadbandvaluesaresatisfiedwithinthecontextoftheobject'sscanperiod.Inotherwords,scriptscannotbetriggeredanyfasterthanthescanperiodoftheengineuponwhichthescriptruns.
UDA
User-definedattributesarepassiveinnature.Theyfollowthe