![Denso Keyence Vision XG Series Manual Download Page 24](http://html.mh-extra.com/html/denso/keyence-vision-xg-series/keyence-vision-xg-series_manual_2483252024.webp)
24
画像処理システム/XGシリーズ
<ImplVar>
.ChangeInspectSettingAsync
Usage
Switch the current program to the specified inspection setting number and SD card
asynchronously.
To obtain and check the return value of the command, use GetCommandResult
command.
Syntax
<ImplVar>
.ChangeInspectSettingAsync
<
SD card number>, <
Inspection setting number>
Argument: <
SD card number> Specify the SD card number (Integer 1, 2).
<
Inspection setting number> Specify the inspection setting number
(Integer 0 to 999)
Description
Switch the current program to the specified inspection setting number and SD card
asynchronously.
To obtain and check the return value of the command, use GetCommandResult
command.
Example
Dim caoCtrl as Object
Dim vntResult as Variant
caoCtrl=cao.AddController("XG","CaoProv.KEYENCE.VWXG", "", "conn=eth:192.168.0.10")
caoCtrl.ChangeInspectSetting 1, 2
'Change SD card 1 inspection setting to No.2
'Obtain the return value of ChangeInspectionSettingAsync command
vntResult = caoCtrl.GetCommandResult