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
Name | Type/Default | Use |
---|---|---|
Server | String | The 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);