Learn more about PTC's products and solutions
Recently active
Reposting Mike Mahoney's blog post:"The 5.0 version of the Lua script resource has improved support for InfoTables. By using the tw_infotable library you can create and manipulate InfoTables:---- Create a DataShape. This definition will place the DataShape into-- the global 'DataShape' table. This definition would typically be-- found in your template file.--dataShapes.MeterReading( { name = "Temp", baseType = "INTEGER" }, { name = "Amps", baseType = "NUMBER" }, { name = "Status", baseType = "STRING", aspects = {defaultValue="Unknown"} }, { name = "Readout", baseType = "TEXT" })-- Lock around this chunk of code. Must always lock around-- access to the global DataShape table.tw_mutex.lock()---- Access the DataShape we want to use and then clone it. DataShapes-- must always be cloned before being used to create an InfoTable.--local ds = DataShape.MeterReading:clone()---- Create an InfoTable based on the DataShape. If this fails the -- function will return nil plus an error message.
Re-posting Mike Mahoney's blog post:"Websockets disconnects can happen by choice, or due to exceptional/error conditions. Here is some information about what happens in each case:Clean disconnect: During a clean disconnect, the user or application will initiate a disconnect sequence. This has two steps. First, if one or more things are bound to the websocket, the client will send an UNBIND message to the PLATFORM. This will cause Things bound to the websocket to appear as offline (their isConnected property will be set to false). Then, the client will close the websocket according to the websocket protocol.Exceptions/Errors: In many cases, the underlying network interface will be aware of unexpected disconnects. For example, if you forcefully kill an EMS, the Platform's network interface will be notified, the websocket will be closed, and Things will be cleanly unbound. In those cases, the updating of the isConnected property will o
Re-posting Mike Mahoney's blog post:"I've explained the connection process for 5.x web socket based clients a lot of times, so I thought it would be useful to just write it up. The SDKs and the EMS both follow a three step process when connecting to the Platform:Establish the physical websocket: The client opens a websocket to the Platform using the host and port that it has been configured to use. The websocket URL exposed at the Platform is /Thingworx/WS. If configured, TLS will be negotiated at this time as well.Authenticate: The client sends a AUTH message to the platform, containing either an App Key (recommended) or username/password. The AUTH message is part of the Thingworx AlwaysOn protocol. If the client attempts to send any other message before the AUTH, the server will disconnect it. The server will also disconnect the client if it doesn't not receive an AUTH message within 15 seconds. This time is configurable in the WS
Supporting Large Scale IoT Data RequirementsThingWorx 6 Overview–Flexible Storage Option–DataStax option–Upcoming plansThingWorx Edition Strategy–Overview of all editionsScaling ThingWorx – When to use Enterprise EditionThingWorx 6 Enterprise Edition–Packaging changes
Market Segment IntroductionConnected Product ConsiderationsTarget Buyer PersonasCommand of the MessageThe Solution - How We Do ItValue Proposition - How We Do It BetterCustomer Proof PointsCompetitionCompetitive DifferentiationDiscovery Questions
ThingWorx: Data Hub for the Connected Enterprise
IoT Sales Training - Concepts and TerminologyWhat is IoT?Market OpportunityIoT BasicsCustomer ExperienceA recorded version of this presentation is available here: Video Link : 1148
Smart, Connected Applications Maximize Agricultural Business PerformanceThingWorx Platform gives OnFarm Go-to-Market Capabilities
IoT Use Cases: Start Your Journey Here(For use with PTC ThingWorx IoT Value Roadmap)
OnFarm IoT Case Study (Customer Facing).pdf
Splunk IoT Case Study
ThingWorx Delivers Business Transformation to Sysmex.pdf
Devicify IoT Case Study
All Traffic Solutions IoT Case Study
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.