When generating qspy sequence diagrams, state transitions in the diagrams are shown as a string with maximum15 characters inside angled braces: <state_x>.</state_x>
When using the QM feature 'QS_FUN_DICT' automatic creation for state machines, the generated state names are prefixed with the AO name and an underscore.
Our AOs often have lets say 8-15 characters, so the AO prefix part of the state name will already take up the available 15 characters in a sequence diagram state transition representation. Thus all <> - type state transitions look the same and information on the actual state is not visible.
Example:
+-------+-------+ +-------+-------+ +-------+-------+ +-------+-------+ | ? | |l_bus_controlle| |AO_Devmanager[0| |AO_TimeServic[0| +-------+-------+ +-------+-------+ +-------+-------+ +-------+-------+0000000002 --MODE_CHANGE_SIG->| | |
0000000004 / <-DEBUG_MODE_ON_S] | |
0000000006 / --MANAGER_SHUTDOW->| |
0000000007 / --START_MICRO------+------------------>|
0000000008 / <buscontroller_s> | |
0000000011 --MODE_CHANGE_SIG->| | |
0000000013 / <-DEBUG_MODE_OFF_] | |
0000000015 / <buscontroller_r> | |</buscontroller_r></buscontroller_s>
<buscontroller_s> should say BusController_sending, or better just <sending>, ergo cutting out the AO name prefix, otherwise i think the state feature in sequence diagrams will be severly limited with even normal length AO names.</sending></buscontroller_s>
John
Anonymous
Done. Please download QTools for your platform from:
https://github.com/QuantumLeaps/qtools/releases/tag/v7.1.3
QSPY documentation has been also updated, please see:
https://www.state-machine.com/qtools/qspy_seq.html
--MMS
Thanks for the quick reply.
One really nice feature would be also to have the test name in the seq file header, maybe after the -g argument list.
This feature request has been implemented in QM 5.2.3.
--MMS