Chapter
2
Reference Manual
IVC-2D
14
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
Getting Started
2.2
About Writing Programs
Before starting to write the program, we will take a look at what a program consists of and
the programming environment.
2.2.1
Tools
A program is a list of commands – or
tools
– that are performed by the camera. When the
program runs, the commands are carried out one by one in the order that they appear in
the program list. So when you build a program in IVC Studio, you work with this list of
commands.
Most of the tools have a number of input parameters that can be set. For example when
starting to take a snapshot from a camera, you may specify the exposure time and which
input that should trigger the capture.
2. Find edge (right)
Y coordinate of edge
340
0. Retrieve an image
3. Calculate angle
Angle
45¡
4. Measurement OK?
!
Result
" #
$%&
'%&
5. Measurement OK
(
)
*
1. Find edge (left)
Y coordinate of edge
220
6. Measurement not OK
(
)
+,
(-
. (-
Table
Row
Value
#/
%
Many tools also produce results that are available as output parameters. These parame-
ters can be stored in the table or be used directly by other steps in your program.