User Tools

Site Tools


vizrt

How to send data to Vizrt ?

There are several ways how to send data from Scoreboard OCR to Vizrt:

  1. Using Viz Engine shared memory (UDP)
  2. Using Viz Scene (UDP)

1. Using Viz Engine shared memory (UDP)

  1. In Vizrt
    1. Choose Global
    2. Enter Memory Base Key
  2. Choose “Vizrt Engine” output option in Scoreboard OCR
  3. Enter Vizrt Engine connection details:
    udp://host:port/[path]
    udp://localhost:1234/sharedpath
  4. Use the same field names in Scoreboard OCR that are defined in Vizrt Engine

Scoreboard OCR will send the following commands to Vizrt Engine using UDP socket connection (each param/value pair is null-terminated:):

SMMSystem_SetValue|[path/]key|value\0
SMMSystem_SetValue|/sharedpath/clock|9:36\0

Testing Viz Engine shared memory (UDP)

  1. In Vizrt:
    1. under Config → Communication → Shared Memory enter UDP port 1234, choose 'master poll UDP' and restart Vizrt
    2. Create a new container
    3. Drag and drop a Apply Shared Memory plugin into this container
    4. Set the Memory Base Key property of the Apply Shared Memory plugin to '/aaa'
    5. Create a text geometry as children of this container
    6. Drag and drop a Control Text plugin into the text geometry container
    7. Set the Field Identifier property of the Control Text plugin to 'text1'
    8. Turn off Use formatted text property of the Control Text plugin
  2. In Scoreboard OCR:
    1. Choose Vizrt Engine in Output tab
    2. Enter the following and click 'Add'
      udp://ip_of_vizrt_computer:1234/aaa
    3. Create field 'text1'
    4. Add some digits to 'text1'
  3. You should be getting data in Vizrt



2. Using Viz Scene (UDP)

  1. Works with Viz v3 and v4. But in Viz v4 you need to choose render mode Classic (not Fusion) for this to work
  2. In Viz-scene add DataPool plugin to the scene
  3. Enable UDP (port 7124, its not possible to change the port number)
  4. Choose “Vizrt Scene” output option in Scoreboard OCR
  5. Enter Vizrt Scene connection details:
    udp://host:7124
    udp://localhost:7124
  6. Use the same field names in Scoreboard OCR that are defined in Vizrt Scene

Scoreboard OCR will send the following commands to Vizrt Scene using UDP socket connection:

clock=12:00;\0



vizrt.txt · Last modified: 2021/02/13 13:54 by arturs