Skip to main content
1-Visitor
June 11, 2019
Question

Thingworx service to get gateway name from remote thing

  • June 11, 2019
  • 1 reply
  • 2843 views

Hi

 

 I want to get gateway name from which remote things are binded/connected . Is there any service in Thingworx composer which can be used ?

 

 I am using two types of gateway :- IndustrialGateway , SDKGateway 

 

Regards

Rahul 

1 reply

1-Visitor
June 12, 2019

What does you mean on Gateway name?

rahul31-VisitorAuthor
1-Visitor
June 12, 2019

Gateway is thing of any  Thing template of gateway type like IndustrialGateway which binds the remote thing to ingest the data from machine .

1-Visitor
June 13, 2019

I'm not sure if that's what you are searching for, but if IndustrialGateway it's a ThingTemplate you can do a :

 

var gateways = ThingTemplates["IndustrialGateway"].QueryImplementingThings();