Denso Keyence Vision XG Series Manual page 30

Image processing system
Table of Contents

Advertisement

<ImplVar>.GetCommandResult
Usage
Wait for the completion of the asynchronous command to get the return value of it.
Syntax
<ImplVar>.GetCommandResult
Return value: Return value of asynchronous command (Variant type)
Description
Wait for the completion of the asynchronous command to get the return value of it.
If the executed asynchronous command which has not return value is executed, it
returns nothing.
If any synchronous command is used before this command, "Get result error"
(0x80100003) occurs and no value will be returned.
If an asynchronous command ends with an error, the error will be ignored within the
process of asynchronous command, and the error occurs at GetCommandResult
command execution.
If there is no response within the specified timeout-period during the waiting time of
the asynchronous command completion, a time-out error (0x80000900) will occur.
Note that if another command is executed after an asynchronous command, the
execution result of the asynchronous command that you've just get will be deleted.
Example
Dim caoCtrl as Object
Dim vntResult as Variant
caoCtrl=cao.AddController("XG","CaoProv.KEYENCE.VWXG", "", "conn=eth:192.168.0.10")
caoCtrl.Execute "ReStartAsync"
vntResult = caoCtrl.GetCommandResult
Argument: None
30
画像処理システム/XGシリーズ

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Denso Keyence Vision XG Series

Table of Contents