How can I associate an ICI with only a single event?
How can I associate an ICI with only a single event?
First create and set the attributes of your ICI. Then install it using op_ici_install (). Once you have done this, the ICI will be associated with every event scheduled until either a different ICI is installed using op_ici_install () or you deinstall the ICI using op_ici_install () with OPC_NIL as an argument:ici_ptr = op_ici_create (my_ici);...set ici attributes using op_ici_attr_set () Kernel procedure...op_ici_install (ici_ptr);op_intrpt_schedule_self ( (op_sim_time () + 10), 0);op_ici_install (OPC_NIL);
DES Kernel->Process Modeling/Coding