Can I set a TDA from within a process model?I received the error messageProgram Abort: KP cannot be called from process context.
Can I set a TDA from within a process model?I received the error messageProgram Abort: KP cannot be called from process context.
No, TDAs (transmission data attributes) may only be set from within pipeline stages (.ps.c).However, once a TDA has been set, its value may be read from anywhere via the op_td_get... series of Kernel Procedures (KPs).As an alternative to TDAs, you may want to consider one of the following approaches:- If it supports your needs, set the TDA within a pipeline stage- Set a 0-bit packet field in your packet format, and use that field to store the data. Since the field's modeled size is 0 bits, it will not affect transmission, propagation, etc. of the packet.- Associate an ICI with the packet, and set the information in the ICI instead. For more information on these topics, refer to Modeler's Modeling Concepts manual, chapter Communication Mechanisms.
DES Kernel->Process Modeling/Coding