Thingworx基础操作步骤docx.docx
- 文档编号:5521189
- 上传时间:2022-12-18
- 格式:DOCX
- 页数:164
- 大小:2.76MB
Thingworx基础操作步骤docx.docx
《Thingworx基础操作步骤docx.docx》由会员分享,可在线阅读,更多相关《Thingworx基础操作步骤docx.docx(164页珍藏版)》请在冰豆网上搜索。
Thingworx基础操作步骤docx
⏹第一部分:
安装ThingWorx
1.Task1.InstalltheJavaDevelopmentKit.
1.Double-click jdk-8u40-windows-x64 inWindowsExplorer.
2.Click Next>.
3.Click Next>.
4.Click Next>.
5.Click Close.
2.Task2.InstallApacheTomcat.
1.Double-click apache-tomcat-8.0.20 inWindowsExplorer.
2.Click Next>.
3.Click IAgree.
4.Click Next>.
5.Type 80 intheHTTP/1.1ConnectorPortfieldtooverwritethedefault.
6.Type admin intheUserNamefield.
7.Type admin inthePasswordfield.
8.Click Next>.
9.Click Next>.
10.Type C:
\PTC\Tomcat intheDestinationFolderfieldtooverwritethedefaultcontents.
11.Click Install.
12.Clearthe RunApacheTomcat checkbox.
13.Clearthe ShowReadme checkbox.
14.Clickthe Finish button.
3.Task3.Configureserver.xml.
1.Navigateto C:
\ptc\Tomcat\conf inWindowsExplorer.
2.Right-clickthe server.xml file.
3.Select Sendto.
4.Select NoteTabLight.
5.Select Search fromtheNoteTabLightmenu.
6.Select Replace.
7.Type protocol="HTTP/1.1" intheFindwhatfield.
8.Type protocol="org.apache.coyote.http11.Http11NioProtocol" intheReplacewithfield.
9.Clickthe ReplaceAll button.
10.Clickthe OK button.
11.Clickthe SaveDocument
iconinNoteTabLight.
12.Clickthe Close
iconinNoteTabLight.
4.Task4.ConfigureTomcatsettings.
1.Clickthe WindowsStart
iconontheWindowstaskbar.
2.Select AllPrograms.
3.Select ApacheTomcat8.0Tomcat8.
4.Select ConfigureTomcat.
5.Clickthe Startuptype drop-downlisttoexpandit.
6.Select Automatic.
7.Selectthe Java tab.
8.CopythefollowingfourlinestotheendoftheJavaOptionssectiontoappendthecurrentcontents:
-XX:
+UseNUMA-XX:
+UseConcMarkSweepGC-XX:
PermSize=128m-XX:
MaxPermSize=1024m
▪DependingonyoursystemanddataneedsfortheThingWorxComposer,youmaywanttosettheMaxPermSizelargerthan1024MB.
9.ClearallofthecontentintheInitialmemorypoolfield.
10.ClearallofthecontentintheMaximummemorypoolfield.
11.Clickthe Apply button.
12.Selectthe General tab.
13.Clickthe Start buttontostartTomcat.
5.Task5.InstalltheThingWorxComposerWebapplication.
1.Select NewTab-GoogleChrome ontheWindowstaskbar.
2.Type http:
//localhost intheaddressbarandpressENTER.
3.Clickthe ManagerApp button.
4.Type admin intheUserNamefield.
5.Type admin inthePasswordfieldandpressENTER.
6.Clickthe ChooseFile buttonintheWARfiletodeploysectionoftheuserinterface.
7.Double-click D:
\Student\ThingWorx\LabFiles\Thingworx.war.
8.Clickthe Deploy buttonandwaitforthebrowserpagetorefresh.
6.Task6.OpentheThingWorxComposer.
1.Click /Thingworx intheApplicationssectionoftheTomcatWebApplicationManger.
▪IfyouwanttocompletetheMySQLdatabaseintegrationexercisesinthiscourse,youmusteitheruseaPTCUniversitycloud-basedvirtualmachineorinstallMySQLandthesampledata.MySQL,alongwithinstallationinstructions,isavailableaspartofthelabfilespackage.However,weareusingaPTCUniversitycloud-basedvirtualmachine,soMySQLispreinstalled.
2.Type Administrator intheUserNamefield.
3.Type admin inthePasswordfieldandpressENTER.
4.Clickthe Iaccept button.
⏹第二部分:
开始使用ThingWorx
2.1、CreatingaUserLogin
Task1.Createauserlogin.
1.Click Expand
toexpandSecurityintheExplorer.
2.Select Users.
3.Clickinthespotlightsearchfieldtoselectit.
4.Type+tolistobjectsyoucancreateinThingWorx.
5.TypeUtolistobjectsyoucancreateinThingWorxthatstartwiththeletterU.
6.Select +User.
7.Type ThingWorxStudent intheNamefield.
8.Type StudentUser intheDescriptionfield.
9.Clickthe ChangePassword button.
10.Type ptc intheEnterNewPasswordfield.
11.Type ptc intheRetypePasswordfield.
12.Clickthe ChangePassword button.
13.Clickthe UserExtensions linkintheENTITYINFORMATIONsectionoftheExplorer.
14.Typethee-mailaddressthatcorrespondstoyourSMStextmessagingnumberinthesmsAddressfield.
oInafutureexercise,atextmessagewillbesenttothisuser.Fortheupcomingexercisetowork,thevalide-mailaddressthatcorrespondstoyourSMStextmessagingnumbermustbeset.Formoreinformationonhowtodeterminethecorrecte-mailaddresstouseforthispurpose,visit
15.Typeavalide-mailaddressintheemailAddressfield.
16.Clickthe Save button.
2.2、AddingaUsertoaGroup
Task1.AddtheThingWorxStudentusertotheAdministratorsgroup.
1.Type Ad inthespotlightsearchfieldtolocateallobjectswithnamesthatbeginwithAd.
2.Selectthe Administrators group.
3.Clickthe CancelEdit(View) button.
4.Clickthe EditMembers button.
5.Select ThingWorxStudent intheleftpanel.
6.Drag ThingWorxStudent intotherightpanel.
7.Clickthe Save button.
8.Select Members intheExplorer.
2.3、ImportingEntities,Mashups,andData
1.Task1.Importentities.
1.Click Import/Export intheThingWorxheadertoexpandadrop-downlist.
2.Select FromFile.
3.VerifythattheEntitiesradiobuttonandtheSingleFiletabareselected.Then,selectthe UseDefaultPersistenceProvider checkbox.
4.Clickthe ChooseFile button.
5.Select D:
\Student\ThingWorx\LabFiles\ThingWorxFundamentalsPreloadEntities.xml.
6.Clickthe Open button.
7.Clickthe Import button.
2.Task2.Importdata.
1.WaitfortheImportSuccessfulmessageandthenselectthe Data radiobutton.
2.Clickthe ChooseFile button.
3.Select D:
\Student\ThingWorx\LabFiles\ThingWorxFundamentalsPreloadData.json.
4.Clickthe Open button.
5.Clickthe Import button.
2.4、ViewingImportedContent
Task1.Viewimportedcontent.
1.Click Mashups intheThingWorxExplorer.
2.ClickunderthescrollbartoscrolldowntoVendingMain.
3.Clickthe VendingMain link.
4.Clickthe Info button.
5.Clickthe ViewMashup button.
6.Clickthe Pop-upswereblockedonthispage.
iconintheChromeaddressbar.
7.Select Alwaysallowpop-upsfromlocalhost.
8.Clickthe Done button.
9.Clickthe ViewMashup buttonagain.
10.Click Close
toclosethemashupwindow.
11.Clickthe MashupPreview linkintheExplorer.
12.Type http:
//localhost/Thingworx/Mashups intheChromeaddressbar.
13.ClickunderthescrollbartoscrolldowntoVendingMain.
14.Clickthe VendingMain link.
2.5、ImportingaWidgetExtension
1.Task1.Importawidgetextension.
1.Click Import/Export intheThingWorxheadertoexpandadrop-downlist.
2.Select Import underEXTENSIONS.
3.Clickthe ChooseFile button.
4.Select D:
\Student\ThingWorx\LabFiles\GoogleWidgets_ExtensionPackage.zip.
5.Clickthe Open button.
6.Clickthe Import button.
7.Clickthe Close button.
8.Clickthe Yes button.
2.Task2.Verifythewidgetisviewableintheimportedmashup.
1.Type V inthespotlightsearchfield.
2.Select VendingMain.
3.Clickthe ViewMashup button.
2.6、AddingaModelTagTermtoanExistingVocabulary
1.Task1.CreatetheThingWorxTrainingtagintheApplicationsvocabulary.
1.Click ModelTags intheModelingsectionoftheThingWorxExplorer.
2.Clickthe Applications link.
3.Clickthe ManageTerms button.
4.Type ThingWorxTraining intheAddTermfield.
5.Clickthe AddTerm button.
6.Clickthe Done button.
2.Task2.TagtheThingWorxStudentuser.
1.Type ThingWorxSt inthespotlightsearchfield.
2.Select ThingWorxStudent.
3.Type Th intheTagsfield.
4.Select ThingWorxTraining.
5.Clickthe Save button.
2.7、CreatingaModelTagVocabularywithTerms
1.Task1.CreatetheEquipmentTypesvocabulary.
1.Click ModelTags intheModelingsectionoftheThingWorxExplorer.
2.Clickthe New button.
3.Type EquipmentTypes intheNamefield.
4.Type Ap intheTagsfield.
5.Select Applications:
ThingWorxTraining.
6.Clickthe Save button.
7.Clickthe Edit button.
2.Task2.Addtermstothevocabulary.
1.Clickthe ManageTerms button.
2.Type VendingMachine intheAddTermfield.
3.Click AddTerm.
4.Type VendingMachineCommunicationServer intheAddTermfield.
5.Click AddTerm.
6.Clickthe Done button.
3.Task3.UsetheRESTAPItoviewthevocabulary.
1.Navigateto http:
//localhost/Thingworx/ModelTags/ inChrome.
2.Clickthe EquipmentTypes link.
3.Clickthe VocabularyTerms link.
2.8、CreatingaThingShape
1.Task1.CreatetheVendingMachineShapethingshape.
1.Clickthe ThingShapes linkintheThingWorxExplorer.
2.Clickthe New button.
3.Type VendingMachineShape intheNamefield.
4.Type ShapefortheVendingMachine intheDescriptionfield.
5.Type A intheTagsfield.
6.Select Applications:
ThingWorxTraining.
2.Task2.Addapropertyforthevendingmachinehumidity.
1.Click Properties intheThingWorxExplorer.
2.Clickthe AddMyProperty button.
3.Type CurrentHumidity intheNamefield.
4.Type VendingMachineCurrentHumidity intheDescriptionfield.
5.Clickthe BaseType listtoexpandit.
6.Select NUMBER.
7.Type % intheUnitsfield.
8.Verifythat Persistent isnotselectedandthenclick DoneandAdd toaddthepropertytotheVendingMachineShape.
3.Task3.Addapropertyforthehumiditysetpoint.
1.Type VMHumiditySetpoint intheNamefield.
2.Type VendingMachineHumiditySetpoint intheDescriptionfield.
3.Clickthe BaseType listtoexpandit.
4.Select NUMBER.
5.Type % intheUnitsfield.
6.Selectthe Persistent checkbox.
7.Click DoneandAdd toaddthepropertytotheVendingMachineShape.
4.Task4.Addapropertyforthecurrenttemperature.
1.Type CurrentTemperature intheNamefield.
2.Type VendingMachineTemperature intheDescriptionfield.
3.Clickthe BaseType listtoexpandit.
4.Select NUMBER.
5.Type F intheUnitsfield.
6.Verifythatthe Persistent checkboxisnotselectedandthenclick DoneandAdd toaddthepropertytotheVendingMachineShape.
5.Task5.Addapropertyforthetemperaturesetpoint.
1.Type VMTemperatureSetpoint intheNamefield.
2
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Thingworx 基础 操作 步骤 docx