Connect Method

NI Vision Builder ActiveX

Connect Method

Syntax

NIVBAITargetControl.Connect [Password], [Status]

Return Type

NIVBAITargetStatus

Purpose

Connects to either a local or remote target. Uses the current values in NIVBAITargetControl.IPAddress and NIVBAITargetControl.Mode. A connection must be established before inspections can run. If an inspection is already running on a target, the InspectionComplete events are received.

Parameters

Password as Variant

Password required to gain access to the target. This parameter is ignored on the local target.

Status as Variant

Current state of the target.