A.5 Adding a Dynamic Legend to a Knowledge Script

To provide a dynamic legend for a data stream collected by a Knowledge Script, use the CreateData callback. The CreateData callback replaces the DataHeader, DataLog, and DynaCreateData callbacks in the following format:

CreateData streamId, legend, dynalegend, objlist, val, agentmsg, msgtype [,schema] [,loglimit] [,lowWM] [,hiWM] [,deletefile]