Programming i!-TimeManager
7
i!-TimeManager
Programming i!-TimeManager
Little work is required to add i!-TimeManager to your existing NetLinx code. i!-TimeManager is
implemented as a NetLinx module, so you need to add the module definition and all its parameters
to your code. You must define the NetLinx events you would like to schedule.
i!-TimeManagerEngineMod Module Definition
To assist you in your programming the i!-TimeManagerEngineMod Module, definition code is
displayed below. You can use this as a start to create custom programming or use it as-is for the
standard functionality.
Where:
mdlTm
is a unique module name.
DEFINE_MODULE 'i!-TimeManagerMod' mdlTm(vdvTmEvents,
dvTmTimeSync,
strTmTzName,
strTmTzDesc,
dTmTzGmtOffset,
strTmTzDstRules,
strTmLocName,
dTmLocLong,
dTmLocLat,
nTmTsProtocol,
nTmTsCheck_Time,
strTmTsServer)
i!-TimeManagerEngineMod Module Definitions
vdvTmEvents
A virtual device number for NetLinx events.
dvTmTimeSync
An IP device number for connecting to an Internet time server.
strTmTzName
A string containing the time zone name. Example: "Eastern".
Continued