User Output Value All

The User Output Value All camera feature allows you to configure the status of all output lines in a single operation.

This can be useful to control external events or devices, e.g., a light source.

To configure the status of an individual output line, use the User Output Value feature.

In this topic Hide

Using the Feature

Prerequisites

The line source of at least one output line must be set to a User Output signal.

Configuring the Status of All Output Lines

You can configure the status of all output lines with the UserOutputValueAll parameter. The parameter is reported as a 64-bit value.

Certain bits in the value are associated with the output lines. Each bit configures the status of its associated line:

Which bit is associated with which line depends on your camera model.

Specifics

Camera Model

Bit-to-Line Association

All ace 2 GigE camera models
  • Bit 0 configures the status of the line associated to the User Output 0 signal
  • Bit 1 configures the status of the line associated to the User Output 1 signal
  • Bit 2 configures the status of the line associated to the User Output 2 signal

Example: You set the line source of Line 2 to User Output 0. Now, bit 0 configures the status of Line 1.

All ace 2 USB 3.0 camera models
  • Bit 0 configures the status of the line associated to the User Output 0 signal
  • Bit 1 configures the status of the line associated to the User Output 1 signal
  • Bit 2 configures the status of the line associated to the User Output 2 signal

Example: You set the line source of Line 2 to User Output 0. Now, bit 0 configures the status of Line 1.

acA640-90gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA640-90gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA640-120gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA640-120gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA640-121gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA640-300gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA640-300gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA720-290gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA720-290gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA780-75gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA780-75gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA800-200gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA800-200gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1280-60gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1280-60gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-22gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-22gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-30gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-30gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-60gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-60gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-60gmNIR Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1300-75gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1300-75gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1440-73gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1440-73gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1600-20gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1600-20gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1600-60gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1600-60gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1920-25gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1920-25gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA1920-40gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1920-40gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1920-48gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1920-48gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1920-50gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA1920-50gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2000-50gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2000-50gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2000-50gmNIR Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2040-25gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2040-25gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2040-25gmNIR Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2040-35gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2040-35gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2440-20gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2440-20gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2500-14gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2500-14gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA2500-20gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2500-20gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2500-20gmMED
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA2500-20gcMED
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA3088-16gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA3088-16gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA3800-10gm Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA3800-10gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA4024-8gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA4024-8gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA4096-11gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA4096-11gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA4112-8gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA4112-8gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA4600-7gc Bit 0 configures the status of line Out 1 (0 = low, 1 = high)
acA5472-5gm
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

acA5472-5gc
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3

Example: All lines high = 0b110

All ace USB 3.0 camera models
  • Bit 0 is always 0
  • Bit 1 configures the status of Line 2
  • Bit 2 configures the status of Line 3
  • Bit 3 configures the status of Line 4

Example: All lines high = 0b1110

All boost CXP-12 camera models
  • Bit 0 configures the status of the line associated to the User Output 0 signal

  • Bit 1 configures the status of the line associated to the User Output 1 signal

  • Bit 2 configures the status of the line associated to the User Output 2 signal

Example: You set the line source of Line 2 to User Output 0. Now, bit 0 configures the status of Line 1.

All dart BCON for LVDS camera models User Output Value All feature not supported
All dart BCON for MIPI camera models User Output Value All feature not supported
All dart USB 3.0 camera models User Output Value All feature not supported
All pulse USB 3.0 camera models User Output Value All feature not supported

Sample Code

// Set the status of all output values in a single operation
// Assume the camera has two output lines and you want to set both to high
// 0b110 (binary) = 6 (decimal)
camera.UserOutputValueAll.SetValue(6);
INodeMap& nodemap = camera.GetNodeMap();
// Set the status of all output values in a single operation
// Assume the camera has two output lines and you want to set both to high
// 0b110 (binary) = 6 (decimal)
CIntegerPtr(nodemap.GetNode("UserOutputValueAll"))->SetValue(6);
// Set the status of all output values in a single operation
// Assume the camera has two output lines and you want to set both to high
// 0b110 (binary) = 6 (decimal)
camera.Parameters[PLCamera.UserOutputValueAll].SetValue(6);
// Set the status of all output values in a single operation
// Assume the camera has two output lines and you want to set both to high
// 0b110 (binary) = 6 (decimal)
Pylon.DeviceSetIntegerFeature(hdev, "UserOutputValueAll", 6);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Set the status of all output values in a single operation */
/* Assume the camera has two output lines and you want to set both to high */
/* 0b110 (binary) = 6 (decimal) */
errRes = PylonDeviceSetIntegerFeature(hdev, "UserOutputValueAll", 6);
CHECK(errRes);

You can also use the pylon Viewer to easily set the parameters.