
Physical Interface
AW00123404000
84
Basler ace USB 3.0
5.12.3
Setting the Status of An Individual 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 UserOutputValue 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 43
.
To set the status of a user settable output line:
If you have the line inverter enabled on an output line and 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.
Summary of Contents for ace acA1920-155
Page 4: ......
Page 50: ...Specifications Requirements and Precautions AW00123404000 40 Basler ace USB 3 0...
Page 56: ...Camera Drivers and Tools for Changing Camera Parameters AW00123404000 46 Basler ace USB 3 0...
Page 106: ...Physical Interface AW00123404000 96 Basler ace USB 3 0...
Page 186: ...Image Acquisition Control AW00123404000 176 Basler ace USB 3 0...