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 #61 background imageLoading...
Page #61 background image
AW00118508000 Physical Interface
Basler racer Camera Link 53
5.6.2 Checking the State of All Lines
Checking the State Using Basler pylon
You can determine the current state of all input and output lines by reading the value of the
LineStatusAll parameter. You can read the LineStatusAll parameter value from within your
application software by using the pylon API. The following code snippet illustrates using the API to
read the parameter value:
int64_t lineState = camera.LineStatusAll.GetValue();
The LineStatusAll parameter is a 32 bit value. As shown in Fig. 16, certain bits in the value are
associated with each I/O line, and each of these bits will indicate the state of the associated line. If
a bit is 0, it indicates that the state of the associated line is currently low. If a bit is 1, it indicates that
the state of the associated line is currently high.
You can also use the Basler pylon Viewer application to easily read the parameter.
Checking the State Using Direct Register Access
To check the current state of all I/O lines via direct register access, read the value of the Line Status
All register. The register holds a 32 bit value that indicates the state of each I/O line. The mapping
of the bits in the value to I/O lines is similar to the mapping described above for access via Basler
pylon.
For more information about direct register access, see Section 3.2 on page 28.
Indicates CL Spare state
Indicates CC3 state
Indicates CC4 state
Indicates CC1 state
Indicates CC2 state
Fig. 16: Line Status All Parameter Bits

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