How the "FG_CAMSTATUS_EXTENDED" variable changes.

  • Hi,


    I want to know how the "FG_CAMSTATUS_EXTENDED" variable changes.


    When tested using Basler Camera, the variable is output as 7 after Fg_Init() is executed. However, if you are using a third-party camera, it will output as 1 or 2.


    ** environment of use

    -. Frame Grabber: mE5-VCL

    -. Applet: Acq_SingleFullAreaGray .dll


    Thanks

    Best Regards,

  • Hi IhShin,

    The FG_CAMSTATUS_EXTENDED provides extended infromation on the pixel clock from the camera. The Variable has 8 bit, and each bit provides different information.

    So, 7 would be -> 000 0111 , 2 would be 0000 00010 , and 1 would be 0000 0001 in binary.

    The following link may help to understand what the parameters mean: https://docs.baslerweb.com/fra…tml#FG_CAMSTATUS_EXTENDED


    • 0 = CameraClk, provided by CameraLink interface. Shows if CL PixelClock is available.
    • 1 = CameraLval, provided by CameraLink interface. Shows if CameraLink LVAL is available, representing a line being transferred into frame grabber.
    • 2 = CameraFval, provided by CameraLink interface. Shows if CameraLink FVAL is available, representing frames being transferred into frame grabber. Not relevant for standard line scan applets.
    • 3 = Camera CC1 Signal, NOT provided by this frame grabber.
    • 4 = ExTrg / external trigger, NOT provided by this frame grabber.
    • 5 = BufferOverflow
    • 6 = BufStatus, LSB
    • 7 = BufStatus, MSB

    So for the value 7:

    CL_PixelClock is available, LVAL is available, FVAL is available (First three bits are one) - all others are zero.

    For the value 2 it means that CL_PixelClock is not available, LVAL is available, FVAL is not available.
    For the value 1 it means that CL_PixelCLock is available, LVAL is not available, FVAL is not available.


    Best Regards,
    Kevin


  • Hi Kevin,


    I have one more question.


    If so, is it normal for "7" to be output to the variable after FG_Init() is executed?


    Thanks

    Best Regards,

  • Hi IhShin,

    Sorry for the late reply.


    "Normal" depends on the camera you are using. If the camera provides CL_PixelClock, LVAL and FVAL then a 7 is normal. However, it really depends on the camera that you are using if these are available. If your third party camera does only provide LVAL then the "2" is normal.

    For questions regarding cameras you may also contact: https://www.baslerweb.com/en/sales-support/support-contact/

    Best Regards,

    Kevin