Professional Documents
Culture Documents
Configure WWDDE For Wonderware InTouch (Q12099)
Configure WWDDE For Wonderware InTouch (Q12099)
Configure WWDDE For Wonderware InTouch (Q12099)
Home:ConfigureWWDDEforWonderwareInTouch
Q12099HOWTO:ConfigureWWDDEforWonderwareInTouch
Createdon3/20/20095:01PM.
HowtoconfigureWWDDEInterfacetocreateCSVfilesfromWonderWareInTouch.
PreConfiguration:
LastModifiedon8/5/20141:50PM.
BeforeattemptingtoconfigureWWDDE,thereareafewstepsthatmustbedonefirst:
1.EnsureWonderWareInTouchisarchivingdata.Historicaldataisstoredinfileswithextension.LGH.Findthesefiles LastModifiedbyNoAuthorNameAvailable!.
whichyouneedtoknowlater.Next,gointoWonderWareandlookuptagnamesintheTagnameDictionary.
Articlehasbeenviewed6557times.
Rated7outof10basedon2votes.
PrintArticle
EmailArticle
2.WhenrunningInTouch,openConfigure>AccessNamesandeitherAddanewnameormodifyexistingnameifyou
haveonealreadyforHISTDATA.EXE.EnterHistDataforApplication,aTopicNamewithoutspacesorspecialcharacters,
andselectDDEasshownbelow:
3.SetupatleastonevariableinWIMS.OpenWIMSclient,clickSetup>Edit/ViewVariableandselecttheInterface
tab.EnteraName,theTagexactlyasitappearsinWonderWare,andselectaStatistic.
http://www.opssys.com/InstantKB/Article.aspx?id=12099 1/6
1/14/2016 ConfigureWWDDEforWonderwareInTouch[Q12099]
4.EnsurethatWWDDEisinstalledonthesamecomputerasWonderWareInTouch,andcancommunicatewithWIMS
clientdatabase.NOTE:theWWDDEwillrequiresomeoneloggedontokeeptheservicerunningitdoesnotrunlikea
normalsystemserviceduetothefactitusesDDEtechnology.
5.EnsureDDEX.OCXfileisloadedontothecomputerwhereWWDDEislocatedandregisterit(seearticleQ11687)
Configuratioin:
1.RunOPSSQL_WWDDE
RuntheOPSSQL_WWDDEprogramandthefollowingscreenwillappear.Noticethatnoneofthesettingswillbecorrectfor
yoursystem,allofthemneedtoconfigured.
2.ConfigureOPSSQLFacility
ClicktheAddFacilitybuttontoaddyourOPSSQLfacility.Thefollowingscreenwillappearwhereyoucanclickthedrop
downarrowandselectyourfacility.ClicktheOKbuttonaftermakingaselection.
http://www.opssys.com/InstantKB/Article.aspx?id=12099 2/6
1/14/2016 ConfigureWWDDEforWonderwareInTouch[Q12099]
3.ConfigureLinkTopic
Lookingatthebottomhalfofthedisplay,weseeseveralsettingstofillin.Whenyoumovethemousepointeroverthetitle
ofasetting,ahintwillbedisplayed.
MovethemousepointeroverthewordsLinkTopicandyouwillseethehintdisplayedbelow:
InWonderWare,youmustsetupaTopicNameforHISTDATA.EXEasshowninthePreConfigurationsteps.Enterthe
samenameyoutypedfortheTopicNameitmustbeexactlythesame.
4.ConfigureHistoricalDataFolder
Thenextsettingdownasksforthelocationofthehistoricaldatafiles,thisistheLGHfiles.Noticetheelipsebuttontothe
farright,clickonit.
OnthenextscreenclickthedropdownforFilterTypes:andselect*.lghoption.
Nownavigatethroughthesystemuntilyoucansee.LGHtypefiles.
InatypicalWonderWareinstallationandconfigurationusingthedemo,theseresideat:
C:\ProgramFiles\FactorySuite\InTouch\Demo\1024
5.ConfigureInTouchApplicationFolder
ThenextsettingdownisaskingforthelocationoftheApplicationFolder.Ifwelookatthehint,weseethattheapplication
itreferstoisthe'Tagname'library.Again,noticetheelipsebuttontothefarright,clickonit.
OnthenextscreenclicktheFilterType:dropdownandselectTagname*.*.
http://www.opssys.com/InstantKB/Article.aspx?id=12099 3/6
1/14/2016 ConfigureWWDDEforWonderwareInTouch[Q12099]
Nownavigatethroughthesystemandfindtagnamefiles.Inourdemowefoundtheminthesameplaceasthe.LGHfiles.
InatypicalWonderWareinstallationandconfigurationusingthedemo,thesefilesresideunder:
C:\ProgramFiles\FactorySuite\InTouch\DemoApp\1024
6.ConfigureHISTDATA.EXEFolder
ThenextsettingdownasksforthelocationoftheHISTDATA.EXEprogram.Lookingatthehint,weseethattheapplication
itreferstoisthefilenamed"histdata.exe".Clickontheelipsebuttontothefarrightofthisoption.
Onthenextscreenwewanttofilterwhatfilespopupontherighthandside,selectthedropdownFilterTypeandlook
forhistdata.exe
Nownavigatethroughyoursystemuntilyoufindthehistdata.exeprogram.
InatypicalWonderWareinstallationandconfiguration,thisfileresidesunder:
C:\ProgramFiles\FactorySuite\InTouch
7.ConfigureOutputFolder
Thissettingisoptional.Wecanseefromthehintthatifyouleavethissettingblank,ithasadefault:
TheWWDDEprogramwillcreatea"Cache"folderunderthesamefolderitisinstalled.Noticeinourexamplewechosea
differentdrive.Youcanuseanydriveincludingmappedshareddrives.
8.ERROR:UnabletosubmitrequestthruDDE.CheckSettings.
Ifanyofthesettingshavenotbeenaccomplishedaccordingtotheseproceduresoriftheyarewrong,youwillseethis
errormessage:
http://www.opssys.com/InstantKB/Article.aspx?id=12099 4/6
1/14/2016 ConfigureWWDDEforWonderwareInTouch[Q12099]
Doublecheckallpreconfigurationstepshavebeendone,andallsettingsarecorrect.Thisprogramhasbeenthoroughly
testedonaWonderWaresystemrunningversion7.1.
9.ImportScheduletoRun
NOTE:InorderforthisscheduleruntocreateCSVfilesautomatically,ausermustalwaysbeloggedin.
SettheImportScheduletoRuntimetowhatevertimeofthedayyouwishforittocreateCSVfilesautomatically.The
timeisinmilitaryformatsohoursafternoonarethattimeplus12(i.e.,1PMis13:00)
Inourexample,wewantWWDDEtorequestCSVfilesfromHISTDATAat3:05PM(15:05).NotetheLastRanboxshows
thelasttimetheserviceran.Thefirsttimethiswillautomaticallydefaultto14dayspriortothecurrentday.Thiscanbe
changedintheINTERFACE.INIfileaftersettingshavebeensaved.
10.SaveSettings
Nowthateverythingisproperlyconfigured,clicktheSaveSettingsbuttontosaveyourcurrentsettings.
11.StartService
IfyoucanclickCreateFilewithagoodresponseinthestatusbar,thenyouarereadytoruntheservice.
ClickonthemenuoptionServices>Start
Ifyoudidnotsavesettingsoryoumadeanychangestothesettings,youwillseethefollowingoptions:
Verysimple:
YESSavesettingsandstartservice
NODonotsavesettings,butstartserviceusepreviouslysavedsettings
CANCELDonothingandreturntodisplay
http://www.opssys.com/InstantKB/Article.aspx?id=12099 5/6
1/14/2016 ConfigureWWDDEforWonderwareInTouch[Q12099]
YouwillseetheServiceStatusbuttonchangefromredtogreen:
RelatedArticles
NoRelatedArticlesAvailable.
ArticleAttachments
NoAttachmentsAvailable.
RelatedExternalLinks
NoRelatedLinksAvailable.
Helpusimprovethisarticle...
Whatdidyouthinkofthisarticle?
1 2 3 4 5 6 7 8 9 10
poor excellent
Telluswhyyouratedthecontentthisway.(optional)
Submit
ApprovedComments...
Nousercommentsavailableforthisarticle.
http://www.opssys.com/InstantKB/Article.aspx?id=12099 6/6