Physical Interface AW00123402000
74 Basler ace USB 3.0
5.12.4 Setting and Checking the Status of All User
Settable Output Lines
The UserOutputValueAll parameter value is reported in bits 1 through 3 of a 32-bit word. The
parameter value indicates the line status of each user settable output line. As shown in Figure 41,
each bit from bit 1 through 3 is associated with one of the UserOutputValue parameters and,
accordingly, with one output line. The bits of the UserOutputValueAll parameter value will indicate
all current UserOutputValue settings. If a bit is 0, it indicates that the UserOutputValue setting is
currently 0. If a bit is 1, it indicates that the UserOutputValue setting is currently 1.
Fig. 41: Bit Field of the UserOutputValueAll Parameter: Bit Numbers and Assignment of Output Lines
You can determine all current UserOutputValue settings with a single operation: Reading the
hexadecimal number of the UserOutputValueAll parameter value allows you to check the current
status of all user settable lines. The following table refers to the bit field shown in Figure 41 and lists
all possible UserOutputValueAll parameter values (hexadecimal numbers) and related binary
numbers from which the line status are immediately apparent.
For example, when a UserOutputValueAll parameter value of 0x8 is reported the UserOutputValue
setting is currently 1 for Line 4 the line status for Line 4 will be high if the line inverter is disabled. In
addition, the UserOutputValue settings are currently 0 for Line 3 and Line 2 and their line status will
be low if the line inverters are disabled.
See Section 5.13.1 on page 79 for details about the relation between line status, electrical signal
level, and line inverter setting.