\i M ? V
Returns the parameters of the currently active view screen.
Note
| Response: | [ACK] screen viewport vp_ori text_ori pos_x pos_y [ACK] |
| Parameter | Type | Range | Description |
|---|---|---|---|
| screen | byte | M, 0 ... number of screens - 1 | index of the active view screen (M = main screen) |
| viewport | byte | 0 ... 8 | index of the screen's active viewport |
| vp_ori | byte | 0 ... 3 | orientation of the viewport relative to the screen orientation |
| text_ori | byte | 0 ... 3 | orientation of the text/graphic items relative to the viewport orientation |
| pos_x | word | 0 ... display width - 1 | horizontal coordinate of the cursor position related to the viewport |
| pos_y | word | 0 ... display height - 1 | vertical coordinate of the cursor position related to the viewport |
Response Example
[ACK][03][05][02][00][01][2C][00][00][ACK]
The currently active view screen has the index of 3, viewport 5 of this screen is selected, the viewport is orientated in landscape mode upside down (180°), the text/graphic orientation is unchanged, and the cursor is currently at the coordinates x = 300 (0x12C) and y = 0 (0x0).
Note
Not supported by: DPC3050, DPC3020, DPC2060, DPC10xx
See also:
Copyright © demmel products gmbh. All rights reserved.