This is a demo application for B&R vision camera. It is developed and maintained by vision enthusiasts and is not and official B&R product. For a detailed description see this documentation.
Note: For better alignment between the index number and IO names most arrays start at index 1 (not 0). This can cause issues with C Task since these tasks do not support arrays starting at index 1. Most arrays can be redefined starting with 0 without any issues from a code perspective but it will cause an empty line in the mappView result tables.
Note: All tasks starting with Vi_... should not be changed because it makes updating more difficult. All Vi_... tasks use a global interface structure to interact with the outside world. All additional code and configuration should only be done in "YourTask" and "VisionVariables.var".
This vision sample contains a lot of functions that are not included in the mappVision HMI (Vision cockpit). These include:
- Easy-to-use mappView visualization
- All IO data points of the camera are connected to the visualization
- Image archive to save the images
- Simultaneous use of several cameras in one visualization
- Use of the nettime function together with axes
- Integration of Lightbar and Backlight
Should also work with newer and some older versions
- Automation Studio 6.5
- mapp 6.4.1
Recommended task class is #8 with a 10ms cycle time. For the nettime and axis tasks use #1
You can find details in the project in "revision.txt"
- Remove post build script
- Fix crosshair and added font size
- Update project to AS6
- Removed second configuration and update all components
- Fixed image dimensions
- Changed hardware to smaller C50
- Removed smaller X20CPU
- Changed ACOPOS single to Mirco
- Make visulization fit new panel size
- Update to mappVision 5.28
- Added Deep OCR sample
- Fixed height and width for crosshairs
- Fixed artefacts in main page image when no camera image was loaded
- Use vision sensor resolution from config to account for cameras with higher resolution
- Optimized image download
- General code optimizations
- Update to mappVision mapp 5.26
- Changed image request to official function block
- Removed recipe management
- Removed color detection
- Removed optic details
- Removed VC4 support
- Removed TCP proxy task
- Removed function to load VA applications
- Removed function to download images
