Brightsign Object Reference Manual (FW 5.1) Manual do Utilizador Página 271

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 341
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 270
263
c.Scan(desc)
Asynchronous API
AsyncScan(parameters As roAssociativeArray) As Boolean: Begins a channel scan on the RF input
and returns the results immediately. Otherwise, the behavior and parameters of this method are identical
to Scan(). When completed or cancelled, AsyncScan() generates an roChannelManagerEvent, which supports
ifUserData and outputs two types of event:
o 0 Scan Complete: Generated upon the completion of a scan. No extra data is supplied.
o 1 Scan Progress: Generated upon every tune that is performed during the scan. GetData() returns the
percentage complete of the scan.
CancelScan() As Boolean: Cancels any asynchronous scans that are currently running. This method does
not generate an roChannelManagerEvent.
Synchronous Example
c = CreateObject("roChannelManager")
' Scan the channels
aa = CreateObject("roAssociativeArray")
aa["ChannelMap"] = "ATSC"
aa["FirstRfChannel"] = 12
aa["LastRfChannel"] = 50
c.Scan(aa)
' Start at the first channel
index = 0
Vista de página 270
1 2 ... 266 267 268 269 270 271 272 273 274 275 276 ... 340 341

Comentários a estes Manuais

Sem comentários