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
The line source of at least one output line must be set to a User Output signal.
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.
Camera Model | Bit-to-Line Association |
---|---|
All ace 2 GigE camera models |
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 |
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 |
Example: All lines high = 0b110 |
acA640-300gm |
Example: All lines high = 0b110 |
acA640-300gc |
Example: All lines high = 0b110 |
acA720-290gm |
Example: All lines high = 0b110 |
acA720-290gc |
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 |
Example: All lines high = 0b110 |
acA800-200gc |
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 |
Example: All lines high = 0b110 |
acA1300-75gc |
Example: All lines high = 0b110 |
acA1440-73gm |
Example: All lines high = 0b110 |
acA1440-73gc |
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 |
Example: All lines high = 0b110 |
acA1920-40gc |
Example: All lines high = 0b110 |
acA1920-48gm |
Example: All lines high = 0b110 |
acA1920-48gc |
Example: All lines high = 0b110 |
acA1920-50gm |
Example: All lines high = 0b110 |
acA1920-50gc |
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 |
Example: All lines high = 0b110 |
acA2040-35gc |
Example: All lines high = 0b110 |
acA2440-20gm |
Example: All lines high = 0b110 |
acA2440-20gc |
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 |
Example: All lines high = 0b110 |
acA2500-20gc |
Example: All lines high = 0b110 |
acA2500-20gmMED |
Example: All lines high = 0b110 |
acA2500-20gcMED |
Example: All lines high = 0b110 |
acA3088-16gm |
Example: All lines high = 0b110 |
acA3088-16gc |
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 |
Example: All lines high = 0b110 |
acA4024-8gc |
Example: All lines high = 0b110 |
acA4096-11gm |
Example: All lines high = 0b110 |
acA4096-11gc |
Example: All lines high = 0b110 |
acA4112-8gm |
Example: All lines high = 0b110 |
acA4112-8gc |
Example: All lines high = 0b110 |
acA4600-7gc | Bit 0 configures the status of line Out 1 (0 = low, 1 = high) |
acA5472-5gm |
Example: All lines high = 0b110 |
acA5472-5gc |
Example: All lines high = 0b110 |
All ace USB 3.0 camera models |
Example: All lines high = 0b1110 |
All boost CXP-12 camera models |
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 |
// 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.