EasyManuals Logo

Basler GigE VISION CAMERAS User Manual

Basler GigE VISION CAMERAS
234 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 #80 background imageLoading...
Page #80 background image
Physical Interface AW00118303000
72 Basler racer GigE
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.
Fig. 24: Line Status All Parameter Bits
Checking the State of a Single Output Line
You can determine the current state of an individual output line. To check the state of a line:
Use the Line Selector parameter to select an output line.
Read the value of the Line Status parameter to determine the current state of the selected 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 Line Selector and read the Line Status parameter value from within your application
software by using the pylon API. The following code snippet illustrates using the API to set the
selector and read the parameter value:
// Select output line 2 and read the state
Camera.LineSelector.SetValue( LineSelector_Out2 );
bool outputLine2State = 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 Viewer, see Section 3.1 on page 23.
7.6.4 Checking the Line Logic
Checking the Line Logic Using Basler pylon
You can determine the type of line logic for each I/O line using Basler pylon:
Use the Line Selector parameter to select a line.
Read the value of the Line Logic 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 Line Selector and read the Line Logic parameter value from within your application
software by using the Basler pylon API. The following code snippet illustrates using the API to set
the selector and read the parameter value:
Indicates output line 1 state
Indicates output line 2 state
Indicates input line 1 state
Indicates input line 2 state
Indicates input line 3 state

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler GigE VISION CAMERAS and is the answer not in the manual?

Basler GigE VISION CAMERAS Specifications

General IconGeneral
BrandBasler
ModelGigE VISION CAMERAS
CategoryDigital Camera
LanguageEnglish

Related product manuals