Menu

#199 Extend state name character length in qspy sequence diagrams.

QTools
closed
QSPY (3)
1
2023-01-10
2022-11-28
No

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

Discussion

  • John Forrester

    John Forrester - 2022-11-29

    Thanks for the quick reply.

     
  • John Forrester

    John Forrester - 2022-11-29

    One really nice feature would be also to have the test name in the seq file header, maybe after the -g argument list.

     
  • Quantum Leaps

    Quantum Leaps - 2023-01-10

    This feature request has been implemented in QM 5.2.3.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel