Output Line Inverter - Basler acA2040-55 User Manual

Basler ace
Table of Contents

Advertisement

Physical Interface
// Setting all user output values with a single operation
camera.UserOutputValueAll.SetValue(0);
// Reading all user output values with a single operation
int64_t i = camera.UserOutputValueAll.GetValue();
Set the value of the User Output Value parameter to true (1) or false (0). This will set the status
of the output line.

5.12.5 Output Line Inverter

You can set output line Line 2 and GPIO lines Line 3 and Line 4 if configured for output, to invert or
not to invert the electrical output signal.
If you enable or disable the inverter one frame acquisition will automatically occur.
To set the invert function for an output line:
1. Use the Line Selector to select, for example, Line 2.
2. Set the value of the LineInverter parameter to true to enable inversion on the selected line or to
false to disable inversion.
You can set the LineSelector and the LineInverter parameter values from within your application
software by using the pylon API. The following code snippet illustrates using the API to set the
selector and the parameter value:
// Enable the line inverter on output line Line 2
camera.LineSelector.SetValue(LineSelector_Line2);
camera.LineInverter.SetValue(true);
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
100
AW00123409000
page
61.
Basler ace USB 3.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aca2440-35Aca2040-120Aca2440-75

Table of Contents