Vision_Object IPAddress Property

Sets and gets the IP address (as a String value) of the PC that is running the PreciseVision application software associated with a vision object.

vision_object.IPAddress= <string_value>
-or-
vision_object.IPAddress

Prerequisites

When this property is set, the vision object must not be connected to PreciseVision.

Parameters

None

Remarks

By default, a Precise Controller connects to its PreciseVision server at the IP address specified by the configuration parameter "Vision server IP address" (DataID 424). For some applications, a single Precise Controller may need to communicate with more than one PreciseVision server on different PCs.  This property overrides the IP address specified by DataID 424 for the connection made by the current vision object. The properties String value contains the IP address in the form nnn.nnn.nnn.nnn where each nnn field is a decimal number representing 8 bits of the 32-bit IP address. If the IPAddress property is not set, the value from DataID 424 is used.

Examples

Dim vobject As New Vision
vobject.IPAddress = "192.168.0.20"
vobject.Process("find_part")

See Also

Vision Classes | vision_object.Instance