Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
ifVideoMode
GetScreenModes()
Returns an a roArray which contains an a roAssociativeArray describing each available output on the platform and how they are configured. The members are:
name:
HDMI-1, 2, 3, and 4video_mode:
A short widthxheightxrate. This can be either:A known BrightSign format videomode (for example, 1920x1080x60p)
A full modeline as described in Applying Apply a Custom ResolutionResolution#ModelineFormat
auto - this is not recommended when using multiple outputs, because the canvas positions are fixed and if a screen uses an unexpected resolution then it won’t be positioned correctly.
video mode description display_x/_y:
The position of the screen on the canvas. The origin (0,0) is the top left corner, and each screen can be positioned relative to it. This allows gaps to be left on the canvas between screens for bezel compensation.transform:
One of normal, 90, 180 or 270 rotation. Each screen can be rotated independently and when a screen is rotated, all content including video will be rotated.enabled:
Whether the screen is enabled for output
SetScreenModes (ScreenConfigList configs)
Takes the same format as argument that GetScreenModes()
returns. By default a single screen is enabled. The player uses full resolution graphics if any of the videomodes configured using SetScreenModes
use the :fullres
modifier. BrightAuthor:connected always sets :fullres
on all of the videomodes for the XC5.
To configure two screens, enter:
Code Block | ||
---|---|---|
| ||
vm = CreateObject("roVideoMode") sm = vm.GetScreenModes() sm[0].video_mode="1920x1080x60p" sm[0].transform = "normal" sm[0].display_x=0 sm[0].display_y=0 sm[0].enabled = true sm[1].video_mode="1920x1080x60p" sm[1].transform = "normal" sm[1].display_x=0 sm[1].display_y=1080 sm[0].video_mode ="1920x1080x60p" sm[1].enabled = true sm[1].video_mode ="1920x1080x60p" sm[1].display_x = 0 sm[1].display_y = 1080 vm.SetScreenModes(sm) |
To configure a 1x2 video wall with bezel compensation, enter:
...
In this case the resulting canvas will be 1920x2180, and full screen video and graphics will display across the whole canvas.
Note |
---|
To calculate the size of a screen bezel in pixels from millimeters, you must multiply the screen width/height in pixels by the bezel size in millimeters, then divide by the screen width/height in millimeters. You can add this bezel area to the wall width and height to get the total bezel-adjusted resolution. |
GetPerformanceMetrics
This method returns the last, peak, and average measured GPU values.
SetMode(mode As String) As Boolean
Anchor | ||||
---|---|---|---|---|
|
...
Specifies the target video mode of the device the next time it reboots. Once a video mode is specified using SetMode()
, it can only be changed by a device reboot.
SetCustomModeline(roString modeline) As roBool
Sets the custom videomode with the supplied modeline (see Applying Apply a Custom Resolution). The custom videomode can then be selected using SetMode.
GetModeForNextBoot() As String
...
Enables MPCDI using the passed parameters. See the MPCDI tech note for more information about configuring MPCDI on BrightSign players.
...