PySpin Error - FLIR_GENTL64_CTI_VS140 FLIR_GenTL_v140.cti [-1012]
AnsweredI tried running the PySpin example code Acquisition.py, and got this Error message:
_PySpin.SpinnakerException: Spinnaker: System instance cannot be acquired. Could not load producer. Make sure that the environment variable FLIR_GENTL64_CTI_VS140 exists, and points to the location of the file FLIR_GenTL_v140.cti [-1012].
-
Official comment
I have seen a few causes for this error:
- Spinnaker and Pyspin version didn't match (version and architecture must be the same).
- Pyspin and Python architecture don't match (32 vs 64 bit).
- Python was installed from the Windows store, not python.org (Windows store Python seems to come with incompatible modifications).
-
I would like to develop software for FLIR AX8 on Windows 10 and Python 3.10.
The Python version is 3.10.11 and OS is Windows 10 64bit.
Python was downloaded from python.org.
I downloaded spinnaker_python-3.1.0.79-cp310-cp310-win_amd64.zip according to my development environment.
I installed the python library and spinnaker_python-3.1.0.79-cp310-cp310-win_amd64.whl following the instructions in the README.txt included in the compressed file.
I tried AcquireAndDisplay.py located in Examples\Python3.
When I installed the missing Python library (keyboard) and ran it again, the following error occurred._PySpin.SpinnakerException: Spinnaker: System instance cannot be acquired. Could not load producer. Make sure that the environment variable FLIR_GENTL64_CTI_VS140 exists, and points to the location of the file FLIR_GenTL_v140.cti [-1012]
I set the location of the folder containing FLIR_GenTL_v140.cti to FLIR_GENTL64_CTI_VS140 as a Windows environment variable from the control panel.
However, even if I restart the terminal and run AcquireAndDisplay.py, the same error was output.
Please let us know how to deal with it.0 -
Hello Fujii-san,
Did you also install Spinnaker 3.1.0.79? Does SpinView work fine?
Best regards,
Manuel
0 -
I only installed spinnaker_python-3.1.0.79-cp310-cp310-win_amd64.zip.
After installing SpinnakerSDK_FULL_3.1.0.79_x64.exe, the error display of _PySpin.SpinnakerException disappeared.
When I started SpinView 3.1.0.79, "0 device deteted" was displayed and FLIR AX8 was not detected.When I executed "python AcquireAndDisplay.py", the following content was displayed.
Library version: 3.1.0.79
Number of cameras detected: 0
Not enough cameras!
Done! Press Enter to exit...Does Spinnaker SDK support FLIR AX8?
Please let me know how to deal with it.Best regards,
0 -
Hello Fujii-san,
I'm afraid that camera is not supported by Spinnaker. Spinnaker can be used with GenICam cameras only, specifically USB3 Vision and GigE Vision cameras.
The AX8 can be used with Atlas SDK but ideally should be used with a ModbusTCP/EtherNetIP application with an RTSP client: https://flir.custhelp.com/app/answers/detail/a_id/1627/~/using-the-ax8-together-with-the-atlas-sdk-%28.net%29
Best regards,Manuel
0
Please sign in to leave a comment.
Comments
5 comments