Difference between revisions of "Global power characteristics changed"

From wiki.netio-products.com
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Script trigger Global power characteristics changed}} Triggered by change of global power characteristics (voltage, frequency). Arguments are stored in table <c...")
 
(No difference)

Latest revision as of 17:09, 11 July 2019

Triggered by change of global power characteristics (voltage, frequency). Arguments are stored in table event.args

Arguments

  • frequency NETIO frequency [Hz] * 1000
  • voltage NETIO voltage [V] * 1000

Print arguments

-- print all arguments
for i, v in pairs(event.args) do
  logf("%s: %s",tostring(i),tostring(v))
end