# Programming Questions

**URL:** https://forum.commonvisionblox.com/c/programming-questions/6.md

[Latest](https://forum.commonvisionblox.com/latest.md) · [Categories](https://forum.commonvisionblox.com/categories.md) · [Tags](https://forum.commonvisionblox.com/tags.md)

---

## [Introducing: Experimental CVB.Net, CVB++ and CVBpy API](https://forum.commonvisionblox.com/t/introducing-experimental-cvb-net-cvb-and-cvbpy-api/205)

<div class="topic-metadata">

**Author:** [@illusive](https://forum.commonvisionblox.com/u/illusive)\
**Replies:** 7\
**Last updated:** [August 1, 2019, 7:55am UTC](https://forum.commonvisionblox.com/t/introducing-experimental-cvb-net-cvb-and-cvbpy-api/205 "2019-08-01T07:55:59Z")

</div>

Introduction The Common Vision Blox API is a child of its time, and the decision to restrict it to a pure C(-like) API was a deliberate and conscious one: It enabled the use of :cvb: in all popular programming environmen…

---

## [About the Programming Questions category](https://forum.commonvisionblox.com/t/about-the-programming-questions-category/25)

<div class="topic-metadata">

**Author:** [@illusive](https://forum.commonvisionblox.com/u/illusive)\
**Replies:** 0

</div>

This is the place to discuss programming questions around Common Vision Blox regardless of programming language. Be sure to provide as much detail as possible for other members to be able to provide helpful comments. Gen…

---

## [ATC5 with GenTL](https://forum.commonvisionblox.com/t/atc5-with-gentl/2505)

<div class="topic-metadata">

**Author:** [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Replies:** 3\
**Last updated:** [September 15, 2026, 1:45pm UTC](https://forum.commonvisionblox.com/t/atc5-with-gentl/2505 "2026-09-15T13:45:02Z")

</div>

Hello, I am trying to integrate an ATC5 camera under GenTL (third cvb acq. stack) un C++ on windows. I have enable CHUNKs on the camera to get timestamps and encoder values. The problem after “std::tie(composite, wait…

---

## [Mech-Eye LNX-8300-GL: GVSP stream not received by GenTL producer](https://forum.commonvisionblox.com/t/mech-eye-lnx-8300-gl-gvsp-stream-not-received-by-gentl-producer/2492)

<div class="topic-metadata">

**Author:** [@marioroos](https://forum.commonvisionblox.com/u/marioroos)\
**Replies:** 1\
**Last updated:** [July 16, 2026, 12:54pm UTC](https://forum.commonvisionblox.com/t/mech-eye-lnx-8300-gl-gvsp-stream-not-received-by-gentl-producer/2492 "2026-07-16T12:54:34Z")

</div>

Context We are integrating a Mech-Eye LNX-8300-GL laser profiler with CVB on Ubuntu 22.04 x86\_64. The camera is advertised as standard GenICam/GigE Vision and works fine with the official Mech-Eye SDK and HALCON’s GigEVi…

---

## [Install and Use CVB in Docker](https://forum.commonvisionblox.com/t/install-and-use-cvb-in-docker/2454)

<div class="topic-metadata">

**Author:** [@s-woe](https://forum.commonvisionblox.com/u/s-woe)\
**Replies:** 1\
**Last updated:** [June 8, 2026, 8:53am UTC](https://forum.commonvisionblox.com/t/install-and-use-cvb-in-docker/2454 "2026-06-08T08:53:55Z")

</div>

Notes: Starting from version 15.00.000 :cvb: Common Vision Blox installers will be compatible with Docker images. The dependencies and packages prerequisites were reviewed and adopted for a installation within the virtua…

---

## [How to find new available, non-configured devices](https://forum.commonvisionblox.com/t/how-to-find-new-available-non-configured-devices/2481)

<div class="topic-metadata">

**Author:** [@nijsink](https://forum.commonvisionblox.com/u/nijsink)\
**Replies:** 1\
**Last updated:** [June 5, 2026, 7:14am UTC](https://forum.commonvisionblox.com/t/how-to-find-new-available-non-configured-devices/2481 "2026-06-05T07:14:17Z")

</div>

A customer of us would like to put an AT C6-CS camera on spare to swap when needed. With the GenICam Browser available devices can be found, added to configured devices and configured. How can we do this process in C#?…

---

## [CvbException: Error getting stream count](https://forum.commonvisionblox.com/t/cvbexception-error-getting-stream-count/2470)

<div class="topic-metadata">

**Author:** [@IngFra](https://forum.commonvisionblox.com/u/IngFra)\
**Replies:** 7\
**Last updated:** [April 17, 2026, 11:06am UTC](https://forum.commonvisionblox.com/t/cvbexception-error-getting-stream-count/2470 "2026-04-17T11:06:26Z")

</div>

Sometimes our application terminates due to this: terminate called after throwing an instance of 'Cvb::V\_1\_6::CvbException' what(): Error getting stream count. Any reason for this? Using a thread for trying to star…

---

## [Inconsistency between Writeable and Writable in CVB](https://forum.commonvisionblox.com/t/inconsistency-between-writeable-and-writable-in-cvb/2468)

<div class="topic-metadata">

**Author:** [@can](https://forum.commonvisionblox.com/u/can)\
**Replies:** 1\
**Last updated:** [April 15, 2026, 7:58am UTC](https://forum.commonvisionblox.com/t/inconsistency-between-writeable-and-writable-in-cvb/2468 "2026-04-15T07:58:42Z")

</div>

Hello, while looking through the current CVB installation, I noticed an inconsistency in the naming around Writeable vs Writable. For example: cvb/genapi/\_decl/decl\_node.hpp exposes IsWriteable() cvb/gevserver/\_d…

---

## [CvCodeReader.dll](https://forum.commonvisionblox.com/t/cvcodereader-dll/2467)

<div class="topic-metadata">

**Author:** [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Replies:** 2\
**Last updated:** [April 8, 2026, 6:52am UTC](https://forum.commonvisionblox.com/t/cvcodereader-dll/2467 "2026-04-08T06:52:23Z")

</div>

Hello, I have installed on windows cvb 15.00.001. I would like to test “CppCodeReading.exe” in tutorials. It gives the message “missing CodeReader license”. So I cannot test it. It it normal? Besides I have a 999 do…

---

## [Thermal camera Mono16 problem](https://forum.commonvisionblox.com/t/thermal-camera-mono16-problem/2465)

<div class="topic-metadata">

**Author:** [@wasa](https://forum.commonvisionblox.com/u/wasa)\
**Replies:** 1\
**Last updated:** [February 26, 2026, 11:02am UTC](https://forum.commonvisionblox.com/t/thermal-camera-mono16-problem/2465 "2026-02-26T11:02:42Z")

</div>

Hello, I am currently using a FLIR A50 camera with the CVB C# SDK. The camera is properly configured to output a Mono16 image, but when I inspect the image planes in my code, the data type indicates it is 8 bits per pix…

---

## [CVB 15.0.1 GENTL timestamp issue](https://forum.commonvisionblox.com/t/cvb-15-0-1-gentl-timestamp-issue/2458)

<div class="topic-metadata">

**Author:** [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Replies:** 1\
**Last updated:** [January 14, 2026, 7:30am UTC](https://forum.commonvisionblox.com/t/cvb-15-0-1-gentl-timestamp-issue/2458 "2026-01-14T07:30:12Z")

</div>

Hello, I am tesing a Dalsa Linea-C2048-7um unnder W11x64 and CVB 15.0.0. Read the node “Timestamp” of “VinBuffer” nodemap fails. It was working properly using the previous CVB versions. Is it deprecated or is it a bu…

---

## [G2Wait() timing out after G2Freeze()](https://forum.commonvisionblox.com/t/g2wait-timing-out-after-g2freeze/2443)

<div class="topic-metadata">

**Author:** [@Luke](https://forum.commonvisionblox.com/u/Luke)\
**Replies:** 1\
**Last updated:** [September 17, 2025, 6:59am UTC](https://forum.commonvisionblox.com/t/g2wait-timing-out-after-g2freeze/2443 "2025-09-17T06:59:22Z")

</div>

Hello, According to this reply: https://forum.commonvisionblox.com/t/whats-the-best-way-to-handle-camera-disconnections-in-cvb/157/4 , calling G2Wait() after G2Freeze() will result in G2Wait() returning CVC\_E\_GRABABORTE…

---

## [AT and stack 3 cause acquisition problems](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 13\
**Last updated:** [September 5, 2025, 10:45am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418 "2025-09-05T10:45:14Z")

</div>

Hello CVB team, Hope you are doing well. Since more than one year now, I use the stack 3 to take pictures on our main vision products. It use two AT (mostly C5 SCT) cameras that reconstruct huge carts to control compon…

---

## [Camera access / Chunk data access with IDS camera](https://forum.commonvisionblox.com/t/camera-access-chunk-data-access-with-ids-camera/2437)

<div class="topic-metadata">

**Author:** [@mmuhieddine](https://forum.commonvisionblox.com/u/mmuhieddine)\
**Replies:** 4\
**Last updated:** [August 5, 2025, 8:04am UTC](https://forum.commonvisionblox.com/t/camera-access-chunk-data-access-with-ids-camera/2437 "2025-08-05T08:04:46Z")

</div>

Hello ! I’m trying to update our software to support IDS camera (GV-527xCP-C). We already support Flir-Teledyne and Lucid Vision cameras. We are using CVB 14.00.008. (We also tried CVB 14.01.006) on Nvidia Jetson. IDS…

---

## [How to disable GenTLCommon::ExceptionTyped\<-1011\>?](https://forum.commonvisionblox.com/t/how-to-disable-gentlcommon-exceptiontyped-1011/2406)

<div class="topic-metadata">

**Author:** [@Jan](https://forum.commonvisionblox.com/u/Jan)\
**Replies:** 6\
**Last updated:** [May 20, 2025, 4:08pm UTC](https://forum.commonvisionblox.com/t/how-to-disable-gentlcommon-exceptiontyped-1011/2406 "2025-05-20T16:08:27Z")

</div>

Hello, I’m using CVB V 14.1 on Windows 64 bit and Visual Studio 2022. CVB floods the IDEs output window, making me a hard time debugging and stepping through my application while trying to follow my own OutputDebugStrin…

---

## [C6 Camera takes much more time to access its features in comparaison to C5 camera](https://forum.commonvisionblox.com/t/c6-camera-takes-much-more-time-to-access-its-features-in-comparaison-to-c5-camera/2414)

<div class="topic-metadata">

**Author:** [@Aytoo](https://forum.commonvisionblox.com/u/Aytoo)\
**Replies:** 1\
**Last updated:** [May 16, 2025, 7:38am UTC](https://forum.commonvisionblox.com/t/c6-camera-takes-much-more-time-to-access-its-features-in-comparaison-to-c5-camera/2414 "2025-05-16T07:38:26Z")

</div>

Hello, I am switching to C6 cameras (from Automation Technology) after using for several years C5 cameras (same constructor). I have no problems for using the new camera but I have detected that the “Apply” phase where…

---

## [Basic usage of Intel RealSense cameras with CVB](https://forum.commonvisionblox.com/t/basic-usage-of-intel-realsense-cameras-with-cvb/883)

<div class="topic-metadata">

**Author:** [@s-woe](https://forum.commonvisionblox.com/u/s-woe)\
**Replies:** 25\
**Last updated:** [May 16, 2025, 7:36am UTC](https://forum.commonvisionblox.com/t/basic-usage-of-intel-realsense-cameras-with-cvb/883 "2025-05-16T07:36:57Z")

</div>

This guide is suitable for the Intel® RealSense™ cameras D415/D435/D435I. It describes the steps starting from driver installation/configuration to basic sample programs.

---

## [False Camera class when CVB is not installed](https://forum.commonvisionblox.com/t/false-camera-class-when-cvb-is-not-installed/2400)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 4\
**Last updated:** [April 23, 2025, 6:25am UTC](https://forum.commonvisionblox.com/t/false-camera-class-when-cvb-is-not-installed/2400 "2025-04-23T06:25:13Z")

</div>

Hi guys, One of my client ask me to build a version of our software that used CVB and is in a production computer “online”, to be use “offline” with a portable computer where CVB is not installed, to be able to work on …

---

## [Delphi (ocx) exampes in tutorial missing](https://forum.commonvisionblox.com/t/delphi-ocx-exampes-in-tutorial-missing/2402)

<div class="topic-metadata">

**Author:** [@ulif](https://forum.commonvisionblox.com/u/ulif)\
**Replies:** 1\
**Last updated:** [April 16, 2025, 9:23am UTC](https://forum.commonvisionblox.com/t/delphi-ocx-exampes-in-tutorial-missing/2402 "2025-04-16T09:23:15Z")

</div>

Is Delphi still supported? I am missing Delphi Examples in the tutorial. The links in ‘shortcuts’- directory fail. I am using Win11 24H2, Delphi12 Starter 32bit, CVB 14.01.005 32bit and AVT Manta G504C. Import of …

---

## [Issue with Teledyne Linea controlmode](https://forum.commonvisionblox.com/t/issue-with-teledyne-linea-controlmode/2393)

<div class="topic-metadata">

**Author:** [@dta](https://forum.commonvisionblox.com/u/dta)\
**Replies:** 1\
**Last updated:** [March 21, 2025, 7:53am UTC](https://forum.commonvisionblox.com/t/issue-with-teledyne-linea-controlmode/2393 "2025-03-21T07:53:33Z")

</div>

My camera Teledyne Linea is blocked after a new power up. With Genicam Browser, i have the following issue : Failed to open device due to std::exception: cvFactoryXX::Interface::OpenDevice - Unable to open Device - wit…

---

## [Stream product monochrome image with color camera](https://forum.commonvisionblox.com/t/stream-product-monochrome-image-with-color-camera/1957)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 7\
**Last updated:** [March 17, 2025, 10:18am UTC](https://forum.commonvisionblox.com/t/stream-product-monochrome-image-with-color-camera/1957 "2025-03-17T10:18:08Z")

</div>

Hi all, I’m using Dalsa Nano C2420 with third generation acqusition interface. When I use the Dalsa with GenICam Browser, I can snap and save color 24 pictures that I’m looking for, but when I use it into my c++ code, …

---

## [Getting started: Displaying multiple Cameras](https://forum.commonvisionblox.com/t/getting-started-displaying-multiple-cameras/1508)

<div class="topic-metadata">

**Author:** [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Replies:** 8\
**Last updated:** [March 12, 2025, 11:56am UTC](https://forum.commonvisionblox.com/t/getting-started-displaying-multiple-cameras/1508 "2025-03-12T11:56:20Z")

</div>

I need to display n Cameras using CVB, how can I do that? As this questions pops up every now and then, and most of the approaches to solve this task are lacking any design pattern “for the sake of keeping the example s…

---

## [Getting Started with CVB.Net](https://forum.commonvisionblox.com/t/getting-started-with-cvb-net/246)

<div class="topic-metadata">

**Author:** [@parsd](https://forum.commonvisionblox.com/u/parsd)\
**Replies:** 17\
**Last updated:** [February 25, 2025, 2:53pm UTC](https://forum.commonvisionblox.com/t/getting-started-with-cvb-net/246 "2025-02-25T14:53:40Z")

</div>

Getting Started with CVB .Net The simplest way for getting started is using Visual Studio. Make sure you have the .Net-Desktop Development package installed. Also a current version of CVB needs to be installed (download …

---

## [How to Fix "TL Call Failed" Error When Running Python Code?](https://forum.commonvisionblox.com/t/how-to-fix-tl-call-failed-error-when-running-python-code/2357)

<div class="topic-metadata">

**Author:** [@Mo212](https://forum.commonvisionblox.com/u/Mo212)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 2:47pm UTC](https://forum.commonvisionblox.com/t/how-to-fix-tl-call-failed-error-when-running-python-code/2357 "2025-02-11T14:47:23Z")

</div>

Hello everyone! I’m new to the software and trying to run my program using Python, but I keep encountering the following error from the start: device = cvb.DeviceFactory.open(cvb.install\_path() + "Drivers/GenICam.vin")…

---

## [Teledyne Dalsa M1280 no longer works in 14.01.002](https://forum.commonvisionblox.com/t/teledyne-dalsa-m1280-no-longer-works-in-14-01-002/2277)

<div class="topic-metadata">

**Author:** [@abab](https://forum.commonvisionblox.com/u/abab)\
**Replies:** 5\
**Last updated:** [February 4, 2025, 1:23pm UTC](https://forum.commonvisionblox.com/t/teledyne-dalsa-m1280-no-longer-works-in-14-01-002/2277 "2025-02-04T13:23:17Z")

</div>

The Teledyne Dalsa M1280 stopped working when jumping from 14.00.004 to 14.01.012 It used the Vin Stack which i see is deprecated, but the GenTL-stack returns a Device which seem corrupt. (stream is null despite StreamC…

---

## [Cvb::String is sometime std::string or std::wstring](https://forum.commonvisionblox.com/t/cvb-string-is-sometime-std-string-or-std-wstring/2346)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 4\
**Last updated:** [January 24, 2025, 8:33am UTC](https://forum.commonvisionblox.com/t/cvb-string-is-sometime-std-string-or-std-wstring/2346 "2025-01-24T08:33:39Z")

</div>

Hi guys, Is someone can explain to me why sometime I can get Cvb::String as std::string and sometime as std::wstring in the same computer and by upgrading or downgrading CVB installion ? I don’t understand why. I am wo…

---

## [Macro in the image](https://forum.commonvisionblox.com/t/macro-in-the-image/2350)

<div class="topic-metadata">

**Author:** [@Paulo](https://forum.commonvisionblox.com/u/Paulo)\
**Replies:** 2\
**Last updated:** [January 23, 2025, 9:36am UTC](https://forum.commonvisionblox.com/t/macro-in-the-image/2350 "2025-01-23T09:36:23Z")

</div>

Hi guys. I’m acquiring images from the camera using python. However, when I capture the frame, the image comes back with the CVB symbol, can this be removed?

---

## [How to know if node exist](https://forum.commonvisionblox.com/t/how-to-know-if-node-exist/2289)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 3\
**Last updated:** [January 15, 2025, 12:06pm UTC](https://forum.commonvisionblox.com/t/how-to-know-if-node-exist/2289 "2025-01-15T12:06:58Z")

</div>

Hello team, Hope you are doing well. I have a question that seem to be rather easy, but I can’t find the answer… I have multiple camera without the same firmware. They have a few nodes that the name isn’t the same (exp…

---

## [How to get CVB cameras in gstreamer](https://forum.commonvisionblox.com/t/how-to-get-cvb-cameras-in-gstreamer/2344)

<div class="topic-metadata">

**Author:** [@e-sensiaOB](https://forum.commonvisionblox.com/u/e-sensiaOB)\
**Replies:** 1\
**Last updated:** [January 14, 2025, 1:22pm UTC](https://forum.commonvisionblox.com/t/how-to-get-cvb-cameras-in-gstreamer/2344 "2025-01-14T13:22:25Z")

</div>

Hello, I would like to know if there is any way to get CVB handled cameras into gstreamer-1.0 as it would be great to have the camera stream to the gstreamer pipeline. Best regards

---

## [Stream.wait() returns None](https://forum.commonvisionblox.com/t/stream-wait-returns-none/2341)

<div class="topic-metadata">

**Author:** [@sewtsbh](https://forum.commonvisionblox.com/u/sewtsbh)\
**Replies:** 1\
**Last updated:** [January 10, 2025, 8:43am UTC](https://forum.commonvisionblox.com/t/stream-wait-returns-none/2341 "2025-01-10T08:43:29Z")

</div>

I am trying to get an image from the teledyne dalsa linea line camera. I am using TriggerMode off. When I call the stream.wait() it returns \<class ‘NoneType’\> instead of composite. In the GenICam browser with same settin…

[Next page](https://forum.commonvisionblox.com/c/programming-questions/6.md?page=1)
