![]()
Contents
Cirrus Link Resources
Cirrus Link Website![]()
Contact Us (Sales/Support)![]()
Forum![]()
Cirrus Link Modules Docs for Ignition 7.9.x![]()
Inductive Resources
Ignition User Manual![]()
Knowledge Base Articles![]()
Inductive University![]()
Forum![]()
The following API calls are available for the MQTT Recorder Module and can be executed within the Ignition Designer Script Console.
APIs system.cirruslink.recorder.createConfig(type, props) → voidParametersString typeThe type of configuration to create with valid options:
GeneralTablesMap propsDictionary of properties making up the configuration with the following keys and datatypes:GeneralId (Long)
Enabled (bool)Datasource (str)PartitionPeriod (str)TablesId (long)TableName (str)
Enabled (bool)
RecordType (str)
GroupId (str)
EdgeNodeId (str)
DeviceId (str)
FilteredProperties (str)
Return ValueNone
system.cirruslink.recorder.readConfig(type) → ListParametersString typeThe type of configuration to read with valid options:
GeneralTablesReturn ValueA List of the Dictionaries of properties making up the configurations with the following keys and datatypes:GeneralId (Long)
Enabled (bool)Datasource (str)PartitionPeriod (str)TablesId (long)TableName (str)Enabled (bool)RecordType (str)GroupId (str)EdgeNodeId (str)DeviceId (str)FilteredProperties (str) system.cirruslink.recorder.updateConfig(type, id, collisionPolicy, props) → void
ParametersString typeThe type of configuration to update with valid options:GeneralTablesLong idThe ID of the record to updateString collisionPolicy"MergeOverwrite" or "Overwrite""MergeOverwrite" will replace the existing properties in the record ID with only those included in the call"Overwrite" will replace all properties in the record ID with those in the callMap propsDictionary of properties making up the configuration with the following keys and datatypes:GeneralId (Long)
Enabled (bool)Datasource (str)PartitionPeriod (str)TablesId (long)TableName (str)Enabled (bool)RecordType (str)GroupId (str)EdgeNodeId (str)DeviceId (str)FilteredProperties (str)Return valueNone system.cirruslink.recorder.deleteConfig(type, id) → void
ParametersString typeThe type of configuration to delete with valid options:GeneralTablesLong idThe ID of the record to deleteReturn valueNone