VISGETSTR (Function)


Obtains code recognition result.


VISGETSTR(<Leading character number>, <Number of characters>)


<Leading character number>
Designates the leading character number to obtain (1 to 611).
<Number of characters>
Designates the number of characters to obtain (1 to 240).
  • If the number of characters to obtain is unknown, refer to a the process result for each instruction,
  • For this instruction, a µVision board (option) is required.



VISSCREEN 1,0,1
VISCLS 0
WINDMAKE R,1,512,480,0,2
'Sets window 1 to rectangle.
CAMIN 1
'Obtains a camera image from the storage memory.
VISPLNOUT 0
VISREADQR 1,0,0,0
'Reading the QR code.
I1 = VISSTATUS(0)
VISPRINT I1, VISSTATUS(1)
IF I1 = 0 THEN
VISLOC 10,10
VISPRINT VISGETSTR(1, VISSTATUS(1))
END IF
VISCAMOUT 1


Top