Connect

The Connect function is part of the HMITTPanel class used to connect to live ARDI data.

Once you've subscribed to one or more points with the Sub function, you use Connect to connect to the ARDI server.

Parameters

NameType/DefaultUse
ServerStringThe URL of the ARDI server, without any prefix/schema

Example

   var connection = new HMITTPanel();
 
   connection.Sub("Asset Name.Property Name",function(v) {
      console.log("New Value: " + v);
   });
 
   connection.Connect(Server);

Notes

This function should be called after you call Sub and (optionally) UseSSL.