Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

  • name: HDMI-1, 2, 3, and 4 on Tractor
  • video_mode: A short widthxheight@rateThis can be either
    • A known BrightSign format videomode (for example, 1920x1080x60p)

    • A full modeline as described here VideoMode custom modeline

    • 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 canvastransform: One of . 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

...

Takes the same format as argument that GetScreenModes() returns. By default a single screen is enabled. To configure two screens, enter:

Code Block
languagejs
vm = CreateObject("roVideoMode")

...


sm = vm.GetScreenModes()

...



sm[0].video_mode ="1920x1080@60"

...


sm[1].enabled = true

...


sm[1].video_mode ="1920x1080@60"

...


sm[1].display_x = 0 sm[1].display_y=1080

vm.SetScreenModes(sm)

To configure a 1x2 video wall with bezel compensation:

Code Block
languagejs
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=1100    ' Bezel compensation of 20 pixels
sm[1].enabled=true

sm[2].enabled=false
sm[3].enabled=false

vm.SetScreenModes(sm)
SetMode(mode As String) As Boolean 
Anchor
setmode
setmode

...

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 a Custom Resolution). The custom videomode can then be selected using SetMode.

GetModeForNextBoot() As String

...