EasyManuals Logo

Basler Camera User Manual

Basler Camera
272 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 #83 background imageLoading...
Page #83 background image
AW00123402000 Physical Interface
Basler ace USB 3.0 73
5.12.3 Setting the Status of a User Settable Output Line
As mentioned in the previous section, you can designate a camera’s output line as "user settable"
by means of the UserOutput parameters. If you have designated an output line as user settable,
you can use the UserOuputValue parameter to set the status of the output line.
For each output line, a specific UserOutput parameter is available to set the line as "user settable":
UserOutput 1 is available for output line Line 2
UserOutput 2 is available for GPIO line Line 3 if the line is configured for output
UserOutput 3 is available for GPIO line Line 4 if the line is configured for output.
1. Use the User Output Selector to select, for example, output line Line 2.
2. Set the value of the User Output Value parameter to true (1) or false (0). This will set the status
of the output line.
You can set the Output Selector and the User Output Value parameters from within your application
software by using the Basler pylon API. The following code snippet illustrates using the API to
designate an output line as user settable, set the status of the output line, and get informed about
its current status:
// Set output line Line 2 to user settable
camera.LineSelector.SetValue(LineSelector_Line2);
camera.LineSource.SetValue(LineSource_UserOutput1);
// Set the status of output line Line 2
camera.UserOutputSelector.SetValue(UserOutputSelector_UserOutput1);
camera.UserOutputValue.SetValue(true);
// Get informed about the current user output value setting for output line Line 2
bool b = camera.UserOutputValue.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 page 37.
To set the status of a user settable output line:
If you have the line inverter enabled on the output line and the line is designated
as user settable, the user setting sets the status of the line before the line inverter.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Basler Camera Specifications

General IconGeneral
CategorySecurity Camera
BrandBasler
ResolutionVaries by model
Sensor TypeCMOS
Frame RateVaries by model
DimensionsVaries by model
WeightVaries by model
InterfaceGigE, USB 3.0
Lens MountC-Mount, CS-Mount

Related product manuals