Output Line Inverter - Basler DART BCON SERIES User Manual

Table of Contents

Advertisement

I/O Control
If you have the line inverter enabled on an output line and if the line is designated
as user settable, the user setting initially sets the status of the line which is then
inverted by the line inverter.
Two user settable output signals are available: User Output 1 and User Output 2. For more
information about output signals, see Section 8.2.1 on
To designate an output line as user settable:
1. Use the LineSelector parameter to select output line Line 1 or Line 2.
2. Set the LineSource parameter to UserOutput1 or UserOutput2.
To set the status of a user settable output line:
1. Use the UserOutputSelector parameter to select output line Line 1 or Line 2.
2. Set the value of the UserOutputValue parameter to true (1) or false (0). This will set the state of
the output line.
You can set the 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 1 to user settable
camera.LineSelector.SetValue(LineSelector_Line1);
camera.LineSource.SetValue(LineSource_UserOutput1);
// Set the status of output line 2
camera.UserOutputSelector.SetValue(UserOutputSelector_UserOutput2);
camera.UserOutputValue.SetValue(true);
// Get informed about the current user output value setting for output line 2
bool b = camera.UserOutputValue.GetValue();
8.2.3

Output Line Inverter

You can set the output lines to invert or not to invert the electrical output signal.
To set the invert function for an output line:
1. Use the LineSelector parameter to select output line Line 1 or Line 2.
2. Set the value of the LineInverter parameter
to true to enable inversion on the selected line
to false to disable inversion on the selected line.
54
page 53
AW00136902000
Basler dart BCON

Advertisement

Table of Contents
loading

Table of Contents