Line Status All

The Line Status All camera feature allows you to determine the status of all I/O lines in a single operation.

To determine the status of an individual I/O line, use the Line Status feature.

In this topic Hide

Using the Feature

Determining the Status of All I/O Lines

To determine the current status of all I/O lines, read the LineStatusAll parameter. The parameter is reported as a 64-bit value.

Certain bits in the value are associated with the I/O lines. Each bit indicates the status of its associated line:

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

If the Line Inverter feature is enabled, the camera inverts the LineStatusAll parameter value. All 0 bits change to 1, and vice versa.

Line Status and I/O Status

→  See the Line Status feature documentation.

Specifics

Camera Model

Bit-to-Line Association

All ace 2 GigE camera models
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

All ace 2 USB 3.0 camera models
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA640-90gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA640-90gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA640-120gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA640-120gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA640-121gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA640-300gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA640-300gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA720-290gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA720-290gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA780-75gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA780-75gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA800-200gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA800-200gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1280-60gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1280-60gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-22gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-22gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-30gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-30gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-60gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-60gmNIR
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-60gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1300-75gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1300-75gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1440-73gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1440-73gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1600-20gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1600-20gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1600-60gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1600-60gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1920-25gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1920-25gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA1920-40gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1920-40gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1920-48gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1920-48gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1920-50gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA1920-50gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2000-50gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2000-50gmNIR
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2000-50gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2040-25gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2040-25gmNIR
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2040-25gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2040-35gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2040-35gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2440-20gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2440-20gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2500-14gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2500-14gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA2500-20gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2500-20gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2500-20gmMED
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA2500-20gcMED
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA3088-16gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status
Example: All lines high = 0b111
acA3088-16gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA3800-10gm
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA3800-10gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA4024-8gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA4024-8gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA4096-11gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA4096-11gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA4112-8gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA4112-8gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA4600-7gc
  • Bit 0 indicates Line1 status
  • Bit 16 indicates Out1 status

Example: All lines high = 0b10000000000000001

acA5472-5gm
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

acA5472-5gc
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

All ace USB 3.0 camera models
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status
  • Bit 3 indicates Line4 status

Example: All lines high = 0b1111

All boost CXP-12 camera models
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status
  • Bit 2 indicates Line3 status

Example: All lines high = 0b111

All dart BCON for LVDS camera models
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status

Example: All lines high = 0b11

All dart BCON for MIPI camera models Line Status All feature not supported
All dart USB 3.0 camera models
  • Bit 0 indicates Line1 status
  • Bit 1 indicates Line2 status

Example: All lines high = 0b11

All pulse USB 3.0 camera models Line Status All feature not supported

Sample Code

// Get the line status of all I/O lines. Because the GenICam interface does not
// support 32-bit words, the line status is reported as a 64-bit value.
int64_t lineStatus = camera.LineStatusAll.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Get the line status of all I/O lines. Because the GenICam interface does not
// support 32-bit words, the line status is reported as a 64-bit value.
int64_t lineStatus = CIntegerPtr(nodemap.GetNode("LineStatusAll"))->GetValue();
// Get the line status of all I/O lines. Because the GenICam interface does not
// support 32-bit words, the line status is reported as a 64-bit value.
Int64 lineStatus = camera.Parameters[PLCamera.LineStatusAll].GetValue();
// Get the line status of all I/O lines. Because the GenICam interface does not
// support 32-bit words, the line status is reported as a 64-bit value.
Int64 lineStatus = Pylon.DeviceGetIntegerFeature(hdev, "LineStatusAll");
/* 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 */
int64_t lineStatus = 0;
/* Get the line status of all I/O lines. Because the GenICam interface does not */
/* support 32-bit words, the line status is reported as a 64-bit value. */
errRes = PylonDeviceGetIntegerFeature(hdev, "LineStatusAll", &lineStatus);
CHECK(errRes);

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