Denso Keyence Vision XG Series Manual page 22

Image processing system
Table of Contents

Advertisement

<ImplVar>.ReadVariable
Usage
Acquires the value of specified scalar variable.
Syntax
<ImplVar>.ReadVariable(
Description
The value of specified scalar variable is acquired.
(This variable name is a name configured in the XG series.)
Example
Dim caoCtrl as Object
Dim vntResult as Variant
caoCtrl=cao.AddController("XG","CaoProv.KEYENCE.VWXG", "", "conn=eth:192.168.0.10")
vntResult = caoCtrl.ReadVariable("#MyVar")
Argument: <Variable name> Specify a scalar variable name with one-byte characters
Return value: The variable value is stored. If acquisition fails, -1.0 is stored. (Variant
type)
<Variable name>
(character string).
22
画像処理システム/XGシリーズ
)

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Denso Keyence Vision XG Series

Table of Contents