Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Balser Camera Init by Qt on Win10 Platform
Forum Updated to NodeBB v4.3 + New Features

Balser Camera Init by Qt on Win10 Platform

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 525 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wan Euron
    wrote on last edited by
    #1

    Re: Problem connecting to pylon(basler) camera

    Problem solved by visit Balser offical guide:
    https://www.baslerweb.com/en/sales-support/knowledge-base/frequently-asked-questions/how-to-enable-pylon-logging/29829/

    I met the very same problem on my Qt application :

    =>LOG :  : SetGenICamLogConfig(path) not called, and environment variable GENICAM_LOG_CONFIG_V3_1 not found. Using default logging configuration.
    =>LOG :  : Cannot open logger parameter file 'C:/Program Files/Basler/pylon 6/log/config/DefaultLogging.properties'
    =>LOG :  : Default logger parameter file '$(GENICAM_ROOT)/log/config/DefaultLogging.properties' not found
    

    this exception came from GenI protocol which this camera relies on. I found this API function GetGenICamLogConfig(path) and SetGenICamLogConfig(path) at http://softwareservices.flir.com/Spinnaker/latest/group___g_c_utilities__h.html

    but solving this problem doesn't require unsterstanding this protcol. Here's the stpes I took (Basic following the link above)

    • download both file in the link above : Dbgview.exe and DebugLogging.txt
    • add a value to your system virable like the link above (thanks mihoyo I don't need to learn Germany to solv this problem)
      boke_picture.png
    • restart computer since we changed the system viarble
    • visit your Pylon exectuble problem dicitonary and run StartPylonViewerWithLogging.cmd
      (C:\Program Files\Basler\pylon 6\Applications\x64\bin\StartPylonViewerWithLogging.cmd)
    • open Pylon application, take a shot
    • close Pylon application, there should be a window come up which is the log file dictionary. This means you have activated the old version Log program which is required.
    • Now create the dictionary (C:/Program Files/Basler/pylon 6/log/config/) from the second line of your program output information, and put the .txt file from step1 here. change the file name from "DefaultLogging.txt" to "DefaultLogging.properties". Now you have the LOG file which is missing before.
    • don't forget running Dbgview.exe
    • now build your code and run init program. You should be see a lot of information output from the program :
    >>> [pylon.base] NOTICE: Initializing Pylon version 6.2.0.18677 (64 bit) on Windows 10 Pro, 64-Bit (10.0.19041). processID = 6876; threadID = 1360
    >>> [pylon.base] NOTICE: >>> Dumping current environment:
    >>> [pylon.base] NOTICE: ALLUSERSPROFILE=C:\ProgramData
    ...
    ....
    ....(about 100+ lines LOG)
    >>> [pylon.base.InstantCamera] NOTICE: Camera 0000006222D68C30: Device removal forwarding thread started
    >>> [pylon.base.InstantCamera] NOTICE: Camera 0000006222D68C30: OnOpened
    

    Now init processe should be completed. I'm going to face following bugs that are about to come.
    Happy photoing. Dont forget your masks XD

    1 Reply Last reply
    2
    • Z Zhang gm referenced this topic on

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved