EasyManuals Logo

Basler racer User Manual

Basler racer
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #60 background imageLoading...
Page #60 background image
AW00118508000 Physical Interface
Basler racer Camera Link 52
5.6 Checking the State of the I/O Lines
5.6.1 Checking the State of a Single Line
Checking the State of an I/O Line
1. Use the LineSelector parameter to select a line.
2. Read the value of the LineStatus parameter to determine the current state of the line. A value
of True means the line’s state is currently high and a value of False means the line’s state is
currently low.
You can set the LineSelector parameter and read the LineStatus parameter value from within your
application software by using the Basler pylon API. The following code snippet illustrates using the
API to set and read the parameter values:
// Select the CC1 line and read the state
camera.LineSelector.SetValue(LineSelector_CC1);
bool CC1 = camera.LineStatus.GetValue();
// Select the CLSpare line and read the state
camera.LineSelector.SetValue(LineSelector_ClSpare);
bool ClSpareState = camera.LineStatus.GetValue();
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
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 page 26.
For the CC1 line, read the value of the Line Status CC1 register. The value will indicate 1 (true)
or 0 (false).
For the CC2 line, read the value of the Line Status CC2 register.
For the CC3 line, read the value of the Line Status CC3 register.
For the CC4 line, read the value of the Line Status CC4 register.
For the CL Spare line, read the value of the Line Status CL Spare register.
For more information about direct register access, see Section 3.2 on page 28.
To check the state of a line using Basler pylon:
To check the state of a line via direct register access:

Table of Contents

Other manuals for Basler racer

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler racer and is the answer not in the manual?

Basler racer Specifications

General IconGeneral
BrandBasler
Modelracer
CategoryDigital Camera
LanguageEnglish

Related product manuals