6 Replies Latest reply on Nov 29, 2017 7:56 AM by aboddu RSS
    osalinas Newbie

    Connect Kepware with TW Studio trial

    Community,


    I'm trying to connect Kepware with the Thingworx cloud instance that is part of the Studio trial. I've already created the key and thing in Thingworx and I've changed the settings in the Kepware project that I'm using, but I'm unable to connect. I'm getting error messages saying that the web socket connection cannot be established. I can see the thing linked to Kepware in the monitor application in Thingworx but it is red instead of the usual green.


    Do you know which additional settings/parameters I need to change (URL of the server at which Kepware is pointing) for this to work?


    Currently I'm traveling for a meeting and I'm unable to share some screenshots of the errors/configurations that I'm using, but as soon as I have access to my server I can post it back here.

     

    Thanks for your support.


    Best regards.

      • Re: Connect Kepware with TW Studio trial
        Ankit Gupta Ninja

        Hi Omar Salinas,

         

        Have you connected the Kepware to any other ThingWorx instance before or is it the first time?

        Please share the configuration/errors once you are free so that we can check the same.

          • Re: Connect Kepware with TW Studio trial
            aboddu Newbie

            Anyone know how to do this? Connecting from KepServerEx data to Thingworx Studio using external data?

              • Re: Connect Kepware with TW Studio trial
                dupatel Creator

                Avinash Boddu: One way is to first have your KepServerEx connect to ThingWorx. Then use ThingWorx entities/services to populate data inside ThingWorx Studio.

                 

                Do you have your KepServerEx connected to ThingWorx instance which is associated with Studio?

                 

                -Durgesh

                  • Re: Connect Kepware with TW Studio trial
                    aboddu Newbie

                    Hi Durgesh Patel,

                     

                    Q: One way is to first have your KepServerEx connect to ThingWorx. Then use ThingWorx entities/services to populate data inside ThingWorx Studio.

                    A: I have KepServerEx connected to ThingWorx instance which is different cloud server. How do i connect from ThingWorx studio to ThingWorx entities/services. I tried to connect using ip from ThingWorx settings, but no connection.


                    Is there anyway or guide me how to connect?

                     

                    Thanks,

                    Avinash.

                      • Re: Connect Kepware with TW Studio trial
                        aregal-2 Newbie

                        Hi Omar Salinas  and Avinash Boddu

                         

                        Have you received an answer to your question(s)?

                         

                        If not, you might try first connecting your Kepware instance to a Thingworx cloud instance server, and then federate that Thingworx cloud instance to your Thingworx Studio server.  The federation allows your cloud instance to talk to your Studio trial instance.

                         

                        You would create a Publisher remote thing on the Thingworx instance that is directly connected to Kepware, and feed your kepware data through to the Publisher remote thing.  On your Thingworx trial instance you create a Subscriber remote thing, and have it subscribe to the Publisher remote thing via the federation.  The Subscriber remote thing is what will feed data to your Studio experience.  I did a similar setup connecting Windchill to Studio.  Let me know if you have questions. 

                         

                        Thanks,

                        Angela