Scripting library for MQTT modules

Is there a scripting library for the MQTT modules from Cirrus? Their documentation has a couple of how-tos but I can’t find a list of all the functions available like in the Ignition manual.

https://docs.chariot.io/display/CLD80/Gateway+Script+MQTT+Publishing

In the tutorial for publishing a tag using a gateway script they use the following function

system.cirruslink.engine.publish( “Chariot SCADA” , “a/b/c” , str( “hello world” ).encode(), 0 , 0 )

Is there a reference for all of the available functions?

Is topic bumping allowed here? Seems to me that there is a lot of talk about MQTT so it seems weird there is not a scripting function reference available somewhere.

I don’t know if there is a reference on their website, but if you have the modules installed you can certainly go to a script editor in the Ignition Designer, type “system.” and then hit <ctrl-space> and get the list of functions available and their documentation to show up directly in the script editor. Should work in any script editor anywhere in Ignition.

1 Like