Basler raL2048-48gm Manuel d'utilisateur Page 81

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 238
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 80
AW00118302000 Physical Interface
Basler racer GigE 71
Fig. 23: User Output Value All Parameter Bits
To set the state of multiple user output lines:
Use the User Output Value All parameter to set the state of multiple user outputs.
You can set the User Output Value All parameter from within your application software by using the
pylon API. The following code snippet illustrates using the API to set the parameter:
// Set the state of both output lines to 1 and read the state
Camera.UserOutputValueAll.SetValue( 0x3 );
int64_t currentOutputState = Camera.UserOutputValueAll.GetValue( );
7.6.3 Checking the State of the I/O Lines
Checking the State of All I/O Lines
You can determine the current state of all input and output lines with a single operation. To check
the state of all lines:
Read the value of the Line Status All parameter.
You can read the Line Status All parameter value from within your application software by using the
pylon API. The following code snippet illustrates using the API to read the parameter value:
// Read the line status all value
int64_t lineState = Camera.LineStatusAll.GetValue( );
The Line Status All parameter is a 32 bit value. As shown in Fig. 24, certain bits in the value are
associated with each line and the bits will indicate the state of the lines. If a bit is 0, it indicates that
If you have the invert function enabled on an output line that is designated as a
user output, the user setting sets the state of the line before the inverter.
Sets user output 1 state
Sets user output 2 state
LSB
Not used
Vue de la page 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 237 238

Commentaires sur ces manuels

Pas de commentaire