Denso QS20H Manuale Utente Pagina 9

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 13
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 8
Users Guide to QRCode provider - 9 -
ORiN 協議会 DENSO WAVE Inc.
2.2.4. CaoController::Execute method
In this method, the command is sent to the QR Code Scanner. Terminator “CR" is added to the specified
command and the command are sent to the QR Code Scanner. The execution result is not returned.
In this method, “RAW” is specified in the command name of the first argument, and specify the command
of the QR code scanner for the parameter of the second argument. At this time, please specify the parameter by
character string type.
Please refer to the manual of each QR Code Scanner for possible command.
Execute
(
"Raw" // Command name. Fixed.
"< parameter >" // Command character string of QR Code Scanner
)
Example 1) Image capture (JPEG, 1/4VGA, full-screen, without thumbnail)
caoCtrl.Execute(“Raw", “IMAGEOUT#J#2#F#0" )
Example 2) Loading of setting (memory: #1)
caoCtrl.Execute(“Raw", “LOAD#1" )
Example 3) Soft reset
caoCtrl.Execute(“Raw", “RESET" )
2.2.5. CaoController::OnMessage event
When the QR Code provider receives data, the data is passed to the client as OnMessage event of the
CaoController class. At this time, received data is stored in the Message::Value property as it is.
OnMessage event is classified three types (the event type mode, the image scanner function, and the reception
error), and of each is distinguished by the Message::Number property. The correspondence of the
Message::Number property and classification is shown as follows.
Table 2-4 Correspondence of classification and number of Message::Number property
Number property Classification Data type
1 QR code data String
2 Image data Binary array
3 Error event String
2.2.6. CaoVariable::get_Value property
Acquire the value which correspond with system variables shown in 2.3.1
Vedere la pagina 8
1 2 3 4 5 6 7 8 9 10 11 12 13

Commenti su questo manuale

Nessun commento