Checking The Line Logic Of The I/O Lines - Basler Racer User Manual

Camera link cameras
Hide thumbs Also See for Racer:
Table of Contents

Advertisement

AW00118508000
5.7
Checking the Line Logic of the I/O
Lines
To determine the type of line logic for each I/O line using Basler pylon:
Use the LineSelector parameter to select a line.
Read the value of the LineLogic parameter to determine the type of line logic used by the line.
The parameter will indicate whether the logic is positive or negative.
You can set the LineSelector parameter and read the LineLogic parameter value from within your
application software by using the Basler pylon API. The following code snippet illustrates using the
API to set and the parameter values:
// Select the CC1 line and read the line logic type
camera.LineSelector.SetValue(LineSelector_CC1);
LineLogicEnums lineLogicCC1 = camera.LineLogic.GetValue();
// Select the CLSpare line and read line logic type
camera.LineSelector.SetValue(LineSelector_ClSpare);
LineLogicEnums lineLogicClSpare = camera.LineLogic.GetValue();
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3.1 on
To determine the type of line logic for each I/O line via direct register access:
For the CC1 line, read the value of the Line Logic CC1 register. The value will indicate 1
(positive) or 0 (negative).
For the CC2 line, read the value of the Line Logic CC2 register.
For the CC3 line, read the value of the Line Logic CC3 register.
For the CC4 line, read the value of the Line Logic CC4 register.
For the CL Spare line, read the value of the Line Logic CL Spare register.
For more information about direct register access, see Section 3.2 on
Basler racer Camera Link
Physical Interface
page
26.
page
28.
54

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents