Basler A400K Bedienungsanleitung Seite 48

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 130
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 47
Physical Interface AW00118501000
40 Basler racer Camera Link
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.
Setting the State of a User Output Line Using Direct Register Access
To set the state of a user settable output line via direct register access:
Set the value of the User Output CL Spare register to 1 (true) or 0 (false) as desired.
For more information about direct register access, see Section 3.2 on page 16.
5.7 Checking the State of the I/O Lines
5.7.1 Checking the State of a Single Line
Checking the State of an I/O Line Using Basler pylon
You can determine the current state of each I/O line. To check the state of a line:
Use the Line Selector parameter to select a line.
Read the value of the Line Status parameter to determine the current state of the line. A value
of true means the line’s state is currently high and a value of false means the line’s state is
currently low.
You can set the Line Selector and read the Line Status parameter value from within your application
software by using the Basler pylon API. The following code snippet illustrates using the API to set
the selector and read the parameter value:
// Select the CC1 line and read the state
Camera.LineSelector.SetValue( LineSelector_CC1 );
bool CC1 = Camera.LineStatus.GetValue( );
// Select the CLSpare line and read the state
Camera.LineSelector.SetValue( LineSelector_ClSpare );
bool ClSpareState = Camera.LineStatus.GetValue( );
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 API and the pylon Viewer, see Section 3.1 on page 15.
Seitenansicht 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 129 130

Kommentare zu diesen Handbüchern

Keine Kommentare