Setting An Output Line For Invert - Basler Pioneer User Manual

Gige vision cameras
Table of Contents

Advertisement

To set the state of multiple user settable output lines:
Use the User Output Value All parameter to set the state of multiple user settable outputs.
You can set the User Output Value All parameter from within your application software by using the
pylon API. The following code snippet illustrates using the API to set the parameter:
Camera.UserOutputValueAll.SetValue( 0x3 );
int64_t currentOutputState = Camera.UserOutputValueAll.GetValue( );
Note
If you have the invert function enabled on an output line that is designated as
user settable, the user setting sets the state of the line before the inverter.

12.2.3 Setting an Output Line for Invert

You can set each individual output line to invert or not to invert the outgoing signal. To set the invert
function on an output line:
Use the Line Selector to select an output line.
Set the value of the Line Inverter parameter to true to enable inversion on the selected line and
to false to disable inversion.
You can set the Line Selector and the Line Inverter 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 the parameter value:
Camera.LineSelector.SetValue( LineSelector_Out1 );
Camera.LineInverter.SetValue( true );
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 2.2 on
page
40.
Basler pioneer
page 20
and Section 2.4 on
I/O Control
169

Advertisement

Table of Contents
loading

Table of Contents