VHV5 - Formatting Output
How to structure the output to suit your application
This article outlines some of the key data that can be obtained through the VHV5 Communication and how this is set up.
The VHV5 has the ability to have rich data output, sharing details such as:
| Read String Output |
| Capture Time |
| Errors |
| Job Name |
| Job Number |
| Parts Per Minute |
| etc. |
In the WebLink interface, on the left hand side, the Read Sequence pane offers information about the configuration of the camera for this particular job. Here you will see a window labelled “Format”, this will give you a representation of the most recent data sent out by the code reader.

Clicking on this window as above will change the settings on the menu on the right to display the formatting for the data output.

The above image shows the three main areas that are shown for General Communication Format, Individual Attributes, and Ordering of output data.
From left to right:
- General
- These are settings to add Preamble (Append to start of string) or Postamble (Append to end of string) to the data format. This is where you can add in ASCII characters to meet any required data formats.
- In this example, there is no Preamble, but the Postamble contains the “Return Carriage” and “Line Feed” ASCII characters.
- Attributes
- This is where you can filter through device information such as that mentioned above
- Simply open one the different categories and then click on the item that you want to add to your output. You will see this appear in the “Output” section below.
- Output
- This output section allows you to reorder and delete any of the items that you have added (except the Post and Preamble)
- Simply drag and drop to re-order or click on the “x” to delete the item.
Scripting
The VHV5 also allows for scripting functionality for fully custom output formatting.
