
AW00118501000 Physical Interface
Basler racer Camera Link 39
Selecting the Source Signal Using Direct Register Access
To select a camera output signal as the source signal for the CL Spare output line or to designate
the line as user settable via direct register access:
Set the value of the Line Source CL Spare register to Line Trigger Wait, Exposure Active, or
User as desired.
For more information about direct register access, see Section 3.2 on page 16.
Default Output Line Source Signal Selections
By default, the camera’s Exposure Active signal is selected as the source signal for the CL Spare
output line.
5.6.2.4 Setting the State of a User Settable Output Line
As mentioned in the previous section, you can select "user output" as the signal source for the CL
Spare output line. For the output line that has "user output" as the signal source, you can use
camera parameters to set the state of the line.
Setting the State of a User Output Line Using pylon
To set the state of a single user output line:
Use the User Output Selector to select CL Spare as the output line you want to set.
Set the value of the User Output Value parameter to true (high) or false (low). This will set the
state of the selected line.
You can set the Output Selector and the User Output Value parameter from within your application
software by using the pylon API. The following code snippet illustrates using the API to select "user
settable" as the source signal for output line 2 and how to set the state of the output line:
// Select "user output" as the signal source for the CL Spare output line
Camera.LineSelector.SetValue( LineSelector_CLSpare );
Camera.LineSource.SetValue( LineSource_UserOutput );
//Set the state of the CL Spare output line and then read the state
Camera.UserOutputSelector.SetValue( UserOutputSelector_CLSpare );
Camera.UserOutputValue.SetValue( true );
bool currentUserOutput2State = Camera.UserOutputValue.GetValue( );
If you have the invert function enabled on the output line that is designated as a
user output, the user setting sets the state of the line before the inverter.
Comentários a estes Manuais