Can I set a TDA from within a process model?I received the error messageProgram Abort: KP cannot be called from process context.

Categories:
Solution Number:
S20753
Last Modified:
2013-08-20
Issue

Can I set a TDA from within a process model?I received the error messageProgram Abort: KP cannot be called from process context.

Solution

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.

Environment

DES Kernel->Process Modeling/Coding

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case