Setting The State Of A User Settable Output Line - Basler ace acA640-90gm User Manual

Gige cameras
Table of Contents

Advertisement

For more information about setting the state of a user settable output line, see Section 6.2.2 on
page
55.
For more information about the electrical characteristics of the output line, see Section 5.8 on
page
47.
6.2.2

Setting the State of a User Settable Output Line

As mentioned in the previous section, you can designate the camera's output line as "user settable".
If you have designated the output line as user settable, you can use camera parameters to set the
state of the line.
Setting the State of a User Settable Output Line
To set the state of a user settable output line:
Use the User Output Selector to select output line 1.
Set the value of the User Output Value parameter to true (1) or false (0). This will set the state
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 the output line as user settable and to set the state of the output line:
// Set output line 1 to user settable
Camera.LineSelector.SetValue( LineSelector_Out1 );
Camera.LineSource.SetValue( LineSource_UserOutput );
// Set the state of output line 1
Camera.UserOutputSelector.SetValue( UserOutputSelector_UserOutput1 );
Camera.UserOutputValue.SetValue( true );
bool currentUserOutput1State = Camera.UserOutputValue.GetValue( );
You can also use the Basler pylon Viewer application to easily set the parameters.
If you have the invert function enabled on the output line and the line is designated
as user settable, the user setting sets the state of the line before the inverter.
For more information about the pylon API and the pylon Viewer, see Section 3.1.1 on
Basler ace GigE
I/O Control
page
28.
55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ace aca640-90gcAce aca640-100gmAce aca640-100gc

Table of Contents