The following blog explains how to load job files via Ethernet onto a Vision HAWK or Vision MINI smart camera running Visionscape ®, without using the Visionscape Machine Vision Software. There are two reasons to do this:
- If you are loading many different jobs, too many than may fit into the flash memory of the camera, then loading one job directly into running memory makes sense.
- However, if you wish to load the camera with a finite number of jobs - such that job switching may be done with the " jobload" command - then loading the job directly into flash memory makes sense.
Loading AVZ files utilizes two communication types - Telnet and FTP. This blog describes the specific steps necessary to load your Visionscape job onto the Vision HAWK or Vision MINI using the Telnet and FTP preinstalled with Windows® 7.
To begin, you need to know the IP address of your Vision HAWK or Vision MINI and have network access to the camera. You'll also need an archived vision job (AVZ) file, which can be created in AutoVISION „¢ or Visionscape FrontRunner software and saved to your PC before you get started. In this example, we're using a Vision HAWK with IP address " 192.168.0.10" with an archived vision job file named " test03.avz" saved to our PC in C:\Microscan\Vscape\Jobs.
In order to use Telnet on Windows 7, Telnet must first be enabled:
- Go to Start Menu > Control Panel
- Choose " Programs" from category view or " Programs and Features" from icon view
- From the left pane, click " Turn Windows features on or off."
- Check the box next to " Telnet Client" to enable it.
Next, you'll need to open a Command Prompt:
- Go to the Start Menu
- Type " Command" in the search field
- Click on " Command Prompt" in the search results
- In the Command Prompt type
and press Enter
The next step creates a temporary drive in memory large enough to hold the AVZ file (the vision job archive file) you will be sending to the camera. In this example the file " test03.avz" is 489 KB, so I'll create a 600 KB drive.
- From your Telnet prompt "˜->' type the case-sensitive command
. This will return with .
Leave your Telnet session open - you will need to return to this session after the FTP part is completed.
The next phase of the process deals with the FTP protocol.
- Open a new Command Prompt
and press Enter
- At the FTP prompt, enter the login:
as the User as the Password
- Enter the next command set:
- <cd "/bind0">
This command set assumes that the AVZ file to be sent resides in the " C:\Microscan\Vscape\Jobs" folder on the PC. If your file location is different, then you need to enter your own file location using the "˜lcd' command.
- Quit your FTP session with the
- Return to your Telnet session that is still open
- Enter one of the two commands - either
Loading in Running Memory: <LoadAvz "/bind0/test03.avz">
This unzips the AVZ archive file, extracts the AVP job file and associated accessory files, puts them in the correct locations, and loads the Visionscape ® job file into active memory on your camera.
Loading In Flash Memory: <FlashAvz "/bind0/test03.avz",1>
This loads the file into the non-volatile memory location on your camera that can be recalled via the command interface.
If you use the " FlashAvz" command, the number after the filename (in this case "1") is the slot into which the AVP job file from the AVZ archive file will be stored once extracted. This method takes some time to execute before you receive feedback after the command.
Now you have loaded a Visionscape job onto your camera without having to open the Visionscape software interface. Any questions? Contact us at email@example.com.
Marked for Life: A Glance at Some Common Direct Part Marking Methods
Direct part marking is crucial for enabling the traceability of products and the parts comprising...
Do Your DPMs Make the Grade? Understanding the 2D Barcode Verification Parameters in ISO 15415
Direct part marks (DPMs) and other two-dimensional codes can vary widely in their readability. Fr...
How X-Mode Brings Out the Best in Barcodes
Barcodes have a unique challenge. Whether printed, etched, engraved or stamped onto their substra...