Classes | |
| class | _AttachDialog |
| class | _MessageDialog |
| class | _GlbFilterDialog |
| class | _LocFilterDialog |
| class | _LocFilterDialog_AO_OBJ |
| class | _CurrObjDialog |
| class | _CommandDialog |
| class | _NoteDialog |
| class | _PeekDialog |
| class | _PokeDialog |
| class | _EvtDialog |
Public Member Functions | |
| on_init (self) | |
| on_reset (self) | |
| on_run (self) | |
Static Public Member Functions | |
| main (cust) | |
| reset_target () | |
| Send the RESET packet to the Target. | |
| command (cmd_id, param1=0, param2=0, param3=0) | |
| executes a given command in the Target | |
| tick (tick_rate=0) | |
| trigger system clock tick in the Target | |
| peek (offset, size, num) | |
| peeks data in the Target | |
| poke (offset, size, data) | |
| pokes data into the Target | |
| glb_filter (*args) | |
| Set/clear the Global-Filter in the Target. | |
| loc_filter (*args) | |
| Set/clear the Local-Filter in the Target. | |
| ao_filter (obj_id) | |
| Set/clear the Active-Object Local-Filter in the Target. | |
| current_obj (obj_kind, obj_id) | |
| Set the Current-Object in the Target. | |
| query_curr (obj_kind) | |
| query the current object in the Target | |
| publish (signal, params=None) | |
| publish a given event to subscribers in the Target | |
| post (signal, params=None) | |
| post a given event to the current AO object in the Target | |
| init (signal=0, params=None) | |
| take the top-most initial transition in the current SM object in the Target | |
| dispatch (signal, params=None) | |
| dispatch a given event in the current SM object in the Target | |
| qunpack (fmt, bstr) | |
| Unpack a QS trace record. | |
| customize () | |
| Set QView customization. | |
| print_text (string) | |
| Print a string to the Text area. | |
| show_canvas (view=1) | |
| Make the canvas visible (to be used in the constructor of the customization class). | |
| show_frame (view=1) | |
| Make the frame visible (to be used in the constructor of the customization class). | |
Static Public Attributes | |
| int | VERSION = 813 |
| current version of QView | |
| custom_menu = None | |
| menu to be customized | |
| canvas = None | |
| canvas to be customized | |
| frame = None | |
| frame to be customized | |
| int | OBJ_SM = 0 |
| int | OBJ_AO = 1 |
| int | OBJ_MP = 2 |
| int | OBJ_EQ = 3 |
| int | OBJ_TE = 4 |
| int | OBJ_AP = 5 |
| int | OBJ_SM_AO = 6 |
| int | OBJ_EP = 7 |
| int | GRP_ALL = 0xF0 |
| int | GRP_SM = 0xF1 |
| int | GRP_AO = 0xF2 |
| int | GRP_MP = 0xF3 |
| int | GRP_EQ = 0xF4 |
| int | GRP_TE = 0xF5 |
| int | GRP_QF = 0xF6 |
| int | GRP_SC = 0xF7 |
| int | GRP_SEM = 0xF8 |
| int | GRP_MTX = 0xF9 |
| int | GRP_U0 = 0xFA |
| int | GRP_U1 = 0xFB |
| int | GRP_U2 = 0xFC |
| int | GRP_U3 = 0xFD |
| int | GRP_U4 = 0xFE |
| int | GRP_UA = 0xFF |
| int | GRP_ON = GRP_ALL |
| int | GRP_OFF = -GRP_ALL |
| int | IDS_ALL = 0xF0 |
| int | IDS_AO = 0x80 + 0 |
| int | IDS_EP = 0x80 + 64 |
| int | IDS_EQ = 0x80 + 80 |
| int | IDS_AP = 0x80 + 96 |
Static Protected Attributes | |
| str | _text_lines = "end - 500 lines" |
| _attach_dialog = None | |
| bool | _have_info = False |
| bool | _reset_request = False |
| _gui = None | |
| _inst = None | |
| int | _err = 0 |
| int | _glb_filter = 0x00000000000000000000000000000000 |
| int | _loc_filter = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
| tuple | _dtypes = ("8-bit", "16-bit", "32-bit") |
| tuple | _dsizes = (1, 2, 4) |
|
static |
|
static |
executes a given command in the Target
|
static |
trigger system clock tick in the Target
|
static |
|
static |
|
static |
Set/clear the Global-Filter in the Target.
|
static |
Set/clear the Local-Filter in the Target.
|
static |
Set/clear the Active-Object Local-Filter in the Target.
|
static |
Set the Current-Object in the Target.
|
static |
query the current object in the Target
|
static |
publish a given event to subscribers in the Target
|
static |
post a given event to the current AO object in the Target
|
static |
take the top-most initial transition in the current SM object in the Target
|
static |
dispatch a given event in the current SM object in the Target
|
static |
Unpack a QS trace record.
@description The qunpack() facility is similar to Python struct.unpack(), specifically designed for unpacking binary QP/Spy packets. qunpack() handles all data formats supported by struct.unpack(), plus data formats specific to QP/Spy. The main benefit of qunpack() is that it automatically applies the Target-supplied info about various the sizes of various elements, such as Target timestamp, Target object-pointer, Target event-signal, zero-terminated string, etc.
pokes data into the Target
| [in] | fmt | format string |
| [in] | bstr | byte-string to unpack |
The additional format characters have the following meaning:
@usage
|
static |
|
static |
|
static |
|
static |
|
staticprotected |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |