Brightsign Object Reference Manual (FW 5.1) Manuale Utente Pagina 241

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 341
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 240
233
Currently, there are two objects that can accept synchronization parameters: The roVideoPlayer PlayFile() call
accepts the parameters provided by ifSyncManagerEvent messages, while the roImagePlayer DisplayFile() and
PreloadFile() calls accept SyncIsoTimestamp in an associative array. To synchronize image playback, an
roImagePlayer object will simply delay the transition thread prior to running the transition. If there is a separate call for
DisplayFile(), then the transition will be cancelled and the image will be displayed immediately (as with non-
synchronized DisplayFile() calls).
Example
' Create a sync manager with default address and port.
aa1=CreateObject("roAssociativeArray")
aa1.Domain = "BS1"
s=CreateObject("roSyncManager", aa1)
p=CreateObject("roMessagePort")
s.SetPort(p)
' Create a video player - we're going to play a seamlessly looped file
v=CreateObject("roVideoPlayer")
v.SetLoopMode(1)
' THIS SECTION IS ONLY DONE BY THE MASTER
' We're the master unit - send out a synchronize event saying that we're starting.
' playback 1000ms from now
s.SetMasterMode(1)
msg = s.Synchronize("Blah1", 1000)
' THIS SECTION IS ONLY DONE BY THE SLAVE
' We're a slave unit, and we're sitting waiting for a sync message.
Vedere la pagina 240
1 2 ... 236 237 238 239 240 241 242 243 244 245 246 ... 340 341

Commenti su questo manuale

Nessun commento