Hardware manual

Impact Reference Guide Load Image
4-111 Datalogic Automation Inc.
If the User ID/Password property is empty, then the User Logon dialog is displayed. The entered User
ID and Password are verified on the device to be connected. If either is invalid, an error message is
displayed, otherwise the Impact Connector is connected to the device.
If a valid User ID and Password have been linked from the UserID\Password property of another
Impact Connector, then the User ID and Password are verified on the device to be connected. The
User Logon dialog is not displayed. If either the User ID or Password is invalid, an error message is
displayed, otherwise the Impact Connector is connected to the device.
If there are multiple Impact Connectors in one Control Panel, and security is enabled on one or more of the
devices, the designer has the option to do one of the following.
Device Connection with Multiple Logon Dialogs: If each Impact Connector in the Control Panel
Application has a blank User ID/Password property value, then the User Logon dialog is displayed for
each Impact Connector prior to connection.
Sequential Device Connection with a Single Logon Dialog: The designer must create a primary
Impact Connector that attempts connection before the other connectors. The UserID\Password prop-
erty from the secondary Impact Connector(s) can be linked to the primary Impact Connectors Use-
rID\Password property. This causes only one User Logon prompt to be displayed for the "main"
Impact Connector and the other connectors will then receive the logon information via the property
links.
Load Image
The Load Image control loads an image from a file into it’s Image property. You can use this control to load
the image into a VPM task, then run the task by linking this control’s Load Completed method to the task’s
Run method.
How to use the Load Image control
1. In CPM, connect to an Image In task loaded in VPM (see “Connect to device” on page 4-2)
2. Click the Image Path property of this Load Image control and select an image to load. If this property is
left blank, you will be able to select an image when the control runs.
3. Make a Set Data link from the Connector control in this control panel to the image property of the
VPM Image In task from step one.
4. Link the image property from this Load Image control to the Set Data link created in step three.
5. Make a link from the Load Completed Event of this Load Image control to the Run method of the VPM
task from step one.
6. To run the Load Image control, link from a Button or other input control’s Event to this control’s Load
Image method.
What is linked What it will do
Vision Device Change the online and offline state of the device
Vision Program Save the selected vision program file
Vision Program
Tas k
Run the selected task
Vision Program
Too l
Run or train the selected tool