“Index used in list operation is not within bounds of existing list” – Datalogic VPM Error Message
Summary
This Error Message Article explains the Datalogic VPM error message “Index used in list operation is not within bounds of existing list.” (with VPM Code Reader tool highlighted in yellow) and details how to fix the underlying problem that caused it to appear.
Explanation
This warning from VPM is indicating that a tool is creating an output of a variable list yet it is linked to another tool that is expecting only one value. The case that prompted this article was created when the Code Reader tool “Identical Codes Decoding” value was set to “True”. If multiple codes were detected, multiple codes were output. The Basic tool linked to this output had trouble since the variable linked to it was an String and only expecting one value.
Solution
Make sure the settings of the VPM tools match the output type. In this case, the value should be changed from String to a type that matches “Identical Codes Decoding”.
Additional Comments
Related Articles: Set the Code Reader Tool to Output Only One Barcode Value – KBA-01540-W1P3K0
Author
Related Articles
- Pixel Blur in Datalogic VPM – Datalogic VPM Problem
- “Index used in list operation is not within bounds of existing list” – Datalogic VPM Error Message
- Radio Buttons Grayed Out (Except General and Display) for Image Related Tasks – Datalogic VPM Problem
- Windows Binding Order Prevents the Datalogic VPM Appliaction from Successfully Connecting to a Camera – Datalogic VPM Problem
- VPM Program Will Not Connect to Camera(s) at Startup – Datalogic VPM Problem
- Code Reader Tool in VPM Reads Barcode Inconsistently – Datalogic VPM Problem