Deactivating and immediately activating a lifeline in sequence diagrams

0 votes
asked Jun 7, 2016 in Wanted features by anonymous

I Would like to visualize a continuous HW process operating in continuos fashion over multiple buffers, which would generate interurupts after each buffer is filled. For that visualization it would be nice to be able to use something like:

activate HW
rnote over HW : Fill buffer 0
HW -> IRQ
deactivate HW
activate HW
rnote over HW : Fill buffer 1
HW -> IRQ
deactivate HW

Which would generate a life-line, which would be destroyed and immediately re-created at the moment of sending the message to IRQ. This would empasize the fact that there would be no break in the processing of the HW, but the buffer used in collecting the data would be changed and the old buffer would be available for the SW to process.

 

Regards, Ville Eerola


 

 

1 Answer

+1 vote
answered Jan 25, 2018 by Anthony-Gaudino (5,720 points)

I guess this is what you want:

activate HW
rnote over HW : Fill buffer 0
HW -> IRQ
deactivate HW
IRQ -[hidden]> HW
activate HW
rnote over HW : Fill buffer 1
HW -> IRQ
deactivate HW
...