Problem connecting to pylon(basler) camera
-
wrote on 7 Mar 2019, 16:49 last edited by
Hi there. I am trying to access Basler Pylon camera through an application using Qt. But i am having problem in connecting the camera.
Presently my .pro file looks like:
The logs in the application output says:
=>LOG : : SetGenICamLogConfig(path) not called, and environment variable GENICAM_LOG_CONFIG_V3_0 not found. Using default logging configuration.
=>LOG : : Cannot open logger parameter file 'C:/Program Files/Basler/pylon 5/log/config/DefaultLogging.properties'
=>LOG : : Default logger parameter file '$(GENICAM_ROOT)/log/config/DefaultLogging.properties' not foundI am using MSVC2017_64bit compiler.
Any help regarding the issue is welcome.
-
Hi and welcome to devnet,
Do you have the same trouble if you run the pylon application ?
-
wrote on 8 Mar 2019, 12:51 last edited by
Have you tried setting the GENICAM_LOG_CONFIG_V3_0 environment variable to (I assume) a path for the log file?
-
wrote on 8 Mar 2019, 13:00 last edited by
@mranger90 No I haven't. Can you please tell me how to do it?
-
wrote on 8 Mar 2019, 13:07 last edited by
It depends on your OS. Since you use the MSVC compiler I guess I can assume its windows.
In that case you can add an environment variable from the System/Advanced System Settings/Environment Variables.
I'd check the docs for the camera's SDK. There may be other things that need to be set.
Does the Windows camera app connect to it ? -
It depends on your OS. Since you use the MSVC compiler I guess I can assume its windows.
In that case you can add an environment variable from the System/Advanced System Settings/Environment Variables.
I'd check the docs for the camera's SDK. There may be other things that need to be set.
Does the Windows camera app connect to it ?wrote on 14 Nov 2019, 17:57 last edited by@mranger90 Hi, I haven't been able to solve the problem yet. Can you help? I know how to add environment variable in my OS (Windows 10), but how do I find the path of the GENICAM_LOG_CONFIG_V3_0 environment variable .
-
You can set the value yourself so you know where the file is.
-
wrote on 19 Dec 2019, 09:56 last edited by
-
wrote on 18 Jul 2021, 18:09 last edited by
While using pylon 6.2 you can also set an empty environment variable.
export GENICAM_LOG_CONFIG_V3_1 = ""