# Programming Questions

**URL:** https://forum.commonvisionblox.com/c/programming-questions/6.md?page=2

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

**Page:** 3

---

## [WaitStatus Cvb::WaitStatus::Abort : means ring buffer full?](https://forum.commonvisionblox.com/t/waitstatus-cvb-abort-means-ring-buffer-full/2139)

<div class="topic-metadata">

**Author:** [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Replies:** 2\
**Last updated:** [March 25, 2024, 3:59pm UTC](https://forum.commonvisionblox.com/t/waitstatus-cvb-abort-means-ring-buffer-full/2139 "2024-03-25T15:59:41Z")

</div>

Hello, In the documentation, I can see enum WaitStatus. About “WaitStatus ::Abort” with the comment : The acquisition has been stopped asynchronously, there is no image buffer. Context : std::tie(composite, waitStatus…

---

## [Simple python script to poll or update nodes](https://forum.commonvisionblox.com/t/simple-python-script-to-poll-or-update-nodes/2116)

<div class="topic-metadata">

**Author:** [@adam.honeybell](https://forum.commonvisionblox.com/u/adam.honeybell)\
**Replies:** 1\
**Last updated:** [February 14, 2024, 1:29pm UTC](https://forum.commonvisionblox.com/t/simple-python-script-to-poll-or-update-nodes/2116 "2024-02-14T13:29:10Z")

</div>

My company make lighting controllers and support various registers for controlling behaviour. I need a way to periodically read the data, but I don’t seem to be able to do so after the first connection and read. What sho…

---

## [Constructing an image from multiple line-scan images](https://forum.commonvisionblox.com/t/constructing-an-image-from-multiple-line-scan-images/2107)

<div class="topic-metadata">

**Author:** [@roman5991](https://forum.commonvisionblox.com/u/roman5991)\
**Replies:** 1\
**Last updated:** [February 6, 2024, 10:02am UTC](https://forum.commonvisionblox.com/t/constructing-an-image-from-multiple-line-scan-images/2107 "2024-02-06T10:02:10Z")

</div>

Hey, I am using a C6 series sensor (Model: C6-4090MCS30-300-420-405) using CVB and I receive images 4096 x .1060. The final goal is to scan an object and show its image, the size is proximately 4096 x 4096. The object…

---

## [Rigbuffer size depends on how device is opened](https://forum.commonvisionblox.com/t/rigbuffer-size-depends-on-how-device-is-opened/2110)

<div class="topic-metadata">

**Author:** [@B9611](https://forum.commonvisionblox.com/u/B9611)\
**Replies:** 3\
**Last updated:** [February 6, 2024, 12:54pm UTC](https://forum.commonvisionblox.com/t/rigbuffer-size-depends-on-how-device-is-opened/2110 "2024-02-06T12:54:20Z")

</div>

I found that the ringbuffer size depends on the way how I open the camera. Here is a very short example: using Stemmer.Cvb; using Stemmer.Cvb.Driver; using System; namespace ConsoleCamera2 { class Program { …

---

## [Problem with GEV Server : XML description file end with a \<NULL\> character](https://forum.commonvisionblox.com/t/problem-with-gev-server-xml-description-file-end-with-a-null-character/2102)

<div class="topic-metadata">

**Author:** [@Drochon](https://forum.commonvisionblox.com/u/Drochon)\
**Replies:** 6\
**Last updated:** [January 30, 2024, 2:26pm UTC](https://forum.commonvisionblox.com/t/problem-with-gev-server-xml-description-file-end-with-a-null-character/2102 "2024-01-30T14:26:08Z")

</div>

Hello, When I use a GEV server with the C++ API, I can’t connect to the server with my camera application (using the MIL-LITE-X API). After analysis, it appears that a NULL character is added at the end of the XML desc…

---

## [Switching from Automation Technology C5 to C6 cameras in CVB](https://forum.commonvisionblox.com/t/switching-from-automation-technology-c5-to-c6-cameras-in-cvb/1868)

<div class="topic-metadata">

**Author:** [@Simon](https://forum.commonvisionblox.com/u/Simon)\
**Replies:** 9\
**Last updated:** [January 30, 2024, 1:17pm UTC](https://forum.commonvisionblox.com/t/switching-from-automation-technology-c5-to-c6-cameras-in-cvb/1868 "2024-01-30T13:17:39Z")

</div>

Since the release of the Automation Technology C6 series there are some changes required in the image acquisiton method of you CVB application. AT C6 features MultiPart an thus regularly requires the 3rd Generation image…

---

## [C6 set NodeMap values](https://forum.commonvisionblox.com/t/c6-set-nodemap-values/2098)

<div class="topic-metadata">

**Author:** [@roman5991](https://forum.commonvisionblox.com/u/roman5991)\
**Replies:** 5\
**Last updated:** [January 22, 2024, 11:11am UTC](https://forum.commonvisionblox.com/t/c6-set-nodemap-values/2098 "2024-01-22T11:11:04Z")

</div>

Hey! I am using a C6 sensor and having problems with image acquisition because of “Multi part”, basically I am trying to change the parameter “GevSCCFGMultiPart” to false to solve this problem but I can’t find how to do…

---

## [GenApi FileControl upload and download](https://forum.commonvisionblox.com/t/genapi-filecontrol-upload-and-download/2096)

<div class="topic-metadata">

**Author:** [@Ben](https://forum.commonvisionblox.com/u/Ben)\
**Replies:** 2\
**Last updated:** [January 19, 2024, 9:44am UTC](https://forum.commonvisionblox.com/t/genapi-filecontrol-upload-and-download/2096 "2024-01-19T09:44:32Z")

</div>

(On standby: I’m investigating bugs in my code…) I’m tasked with storing an arbitrary file on board a camera. Using Sapera CamExpert, I’ve found that I can upload and download a file in the Miscellaneous in the User de…

---

## [Is it safe to concurrently open multiple cameras?](https://forum.commonvisionblox.com/t/is-it-safe-to-concurrently-open-multiple-cameras/2085)

<div class="topic-metadata">

**Author:** [@zhilen111](https://forum.commonvisionblox.com/u/zhilen111)\
**Replies:** 2\
**Last updated:** [January 9, 2024, 3:32pm UTC](https://forum.commonvisionblox.com/t/is-it-safe-to-concurrently-open-multiple-cameras/2085 "2024-01-09T15:32:25Z")

</div>

Greetings, I have a query regarding the Cvb::DeviceFactory::Open() function. I have both an area scan and a line scan camera. My goal is to open the area scan camera for Vin Acquisition and the line scan camera for GenT…

---

## [ATC6 after camera boot: enable chunks](https://forum.commonvisionblox.com/t/atc6-after-camera-boot-enable-chunks/1901)

<div class="topic-metadata">

**Author:** [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Replies:** 15\
**Last updated:** [February 16, 2023, 1:13pm UTC](https://forum.commonvisionblox.com/t/atc6-after-camera-boot-enable-chunks/1901 "2023-02-16T13:13:55Z")

</div>

Hello, I am using an ATC6 camera with CVVBB 14.00.002 on windows 10. Camera is initialised with CVB++ GENTL. ISSUE: when I reboot the camera, I cannot get the Chunks (timestamp, encoer value) enven though chunk is ini…

---

## [CVBPy slow to pick up license dongle!](https://forum.commonvisionblox.com/t/cvbpy-slow-to-pick-up-license-dongle/2045)

<div class="topic-metadata">

**Author:** [@antonkristensen](https://forum.commonvisionblox.com/u/antonkristensen)\
**Replies:** 8\
**Last updated:** [December 13, 2023, 11:58am UTC](https://forum.commonvisionblox.com/t/cvbpy-slow-to-pick-up-license-dongle/2045 "2023-12-13T11:58:19Z")

</div>

Hi, we are running a system on Ubuntu 22.04 and license dongles, using the Python Bindings, and when we start up our acquisition system it takes a loooooooong time before it acquires the license, is this something that i…

---

## [Stripes on image](https://forum.commonvisionblox.com/t/stripes-on-image/1156)

<div class="topic-metadata">

**Author:** [@pare](https://forum.commonvisionblox.com/u/pare)\
**Replies:** 11\
**Last updated:** [December 12, 2023, 9:55am UTC](https://forum.commonvisionblox.com/t/stripes-on-image/1156 "2023-12-12T09:55:08Z")

</div>

Hello, I’m trying to acquire some images using a DAHUA MV-A7500MG20E camera. The issue I’m facing is that when I take an image, sometimes it has horizontal stripes (I uploaded an image for reference). What am I doing …

---

## [Abnormal image acquisition](https://forum.commonvisionblox.com/t/abnormal-image-acquisition/2056)

<div class="topic-metadata">

**Author:** [@ben1](https://forum.commonvisionblox.com/u/ben1)\
**Replies:** 2\
**Last updated:** [November 13, 2023, 7:56am UTC](https://forum.commonvisionblox.com/t/abnormal-image-acquisition/2056 "2023-11-13T07:56:45Z")

</div>

Hi, I’m using cvb.net for a basic live display in c# application. I had a few occurence where the image look like the below on app startup. The camera is looking at a green backlight so the full image is green in norma…

---

## [CVB .NET API Datatype Conversion](https://forum.commonvisionblox.com/t/cvb-net-api-datatype-conversion/2053)

<div class="topic-metadata">

**Author:** [@BitSmith](https://forum.commonvisionblox.com/u/BitSmith)\
**Replies:** 3\
**Last updated:** [November 8, 2023, 12:00pm UTC](https://forum.commonvisionblox.com/t/cvb-net-api-datatype-conversion/2053 "2023-11-08T12:00:00Z")

</div>

Hello, This is probably very simple. I have a colour Genie Nano that I am acquisring from using GenTL and the .NET API How do I control/enable the driver conversion to RGB from the Bayer source? I simply open the sou…

---

## [C5 2d image is imagePtr or bufferPtr](https://forum.commonvisionblox.com/t/c5-2d-image-is-imageptr-or-bufferptr/2032)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 6\
**Last updated:** [October 31, 2023, 2:16pm UTC](https://forum.commonvisionblox.com/t/c5-2d-image-is-imageptr-or-bufferptr/2032 "2023-10-31T14:16:59Z")

</div>

Hi all, I just finish to update my C5 class after creating a C6 class in a spirit of clean code. I can take depth pictures withe the C5, it’s work fine. When I want to get the 2d images, I get frome the C5 stream somet…

---

## [C5 timestamp et input line data](https://forum.commonvisionblox.com/t/c5-timestamp-et-input-line-data/2031)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 5\
**Last updated:** [October 30, 2023, 8:33am UTC](https://forum.commonvisionblox.com/t/c5-timestamp-et-input-line-data/2031 "2023-10-30T08:33:40Z")

</div>

Hi all, I continue to work on my C6 integration, and it work almost fine. I just update my C5 class to manage our last C5 like our new C6 in a spirit of Clean Code and better adaptation of our software, but some parts …

---

## [Exporting CVB images to stream/buffer](https://forum.commonvisionblox.com/t/exporting-cvb-images-to-stream-buffer/2015)

<div class="topic-metadata">

**Author:** [@ChristianGE](https://forum.commonvisionblox.com/u/ChristianGE)\
**Replies:** 3\
**Last updated:** [October 18, 2023, 8:14am UTC](https://forum.commonvisionblox.com/t/exporting-cvb-images-to-stream-buffer/2015 "2023-10-18T08:14:21Z")

</div>

Hi all Our software produces a data file in a streaming fashion in which we save a series of images among other things. It is therefore necessary for us to export the images acquired through CVB as bmp images or similar…

---

## [How to set the IP Address of a Camera in CVB](https://forum.commonvisionblox.com/t/how-to-set-the-ip-address-of-a-camera-in-cvb/2029)

<div class="topic-metadata">

**Author:** [@axelprinceton](https://forum.commonvisionblox.com/u/axelprinceton)\
**Replies:** 5\
**Last updated:** [October 9, 2023, 2:01pm UTC](https://forum.commonvisionblox.com/t/how-to-set-the-ip-address-of-a-camera-in-cvb/2029 "2023-10-09T14:01:33Z")

</div>

Hello everyone! I have read through the following Thread: How to set a the IP-Address of GEV-Camera programmatically in CVB - Programming Questions / C++ API - Common Vision Blox User Forum What Andreas coded it’s an …

---

## [🐛 Possible Bug: CVBpy manually injects site-packages into path](https://forum.commonvisionblox.com/t/possible-bug-cvbpy-manually-injects-site-packages-into-path/2036)

<div class="topic-metadata">

**Author:** [@John](https://forum.commonvisionblox.com/u/John)\
**Replies:** 1\
**Last updated:** [September 26, 2023, 7:24am UTC](https://forum.commonvisionblox.com/t/possible-bug-cvbpy-manually-injects-site-packages-into-path/2036 "2023-09-26T07:24:48Z")

</div>

Hi, These lines exist in \_\_init\_\_.py of cbv. What are they doing? # try to add the cvb module path to the PYTHONPATH try: site\_packages = next(p for p in \_sys.path if 'site-packages' in p) importpath = \_os.pat…

---

## [CVB cube saving to ENVI crashes](https://forum.commonvisionblox.com/t/cvb-cube-saving-to-envi-crashes/1999)

<div class="topic-metadata">

**Author:** [@iwein](https://forum.commonvisionblox.com/u/iwein)\
**Replies:** 5\
**Last updated:** [September 27, 2023, 9:34am UTC](https://forum.commonvisionblox.com/t/cvb-cube-saving-to-envi-crashes/1999 "2023-09-27T09:34:01Z")

</div>

I have a strange problem with the saving of a cvb::Cube. Consider the following MS unit test: /////////////////////////////////////////// // Write data to ENVI BIP file TEST\_METHOD(TestCVBCrashOnCubeSave) { const a…

---

## [DeviceLinkThroughputLimitMode or GevSCPD?](https://forum.commonvisionblox.com/t/devicelinkthroughputlimitmode-or-gevscpd/2023)

<div class="topic-metadata">

**Author:** [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Replies:** 3\
**Last updated:** [September 4, 2023, 12:46pm UTC](https://forum.commonvisionblox.com/t/devicelinkthroughputlimitmode-or-gevscpd/2023 "2023-09-04T12:46:48Z")

</div>

Hello, I’ve seen a new settings in a camera. I was used to work with Interpacket delay (GevSCPD), which is also declared in genicam.vin. BUT “Interpacket delay” is not writeable if “DeviceLinkThroughputLimitMode” is se…

---

## [How to link one node to another using the pSelector on GEV server](https://forum.commonvisionblox.com/t/how-to-link-one-node-to-another-using-the-pselector-on-gev-server/2012)

<div class="topic-metadata">

**Author:** [@ASchmitt](https://forum.commonvisionblox.com/u/ASchmitt)\
**Replies:** 0\
**Last updated:** [August 23, 2023, 11:05am UTC](https://forum.commonvisionblox.com/t/how-to-link-one-node-to-another-using-the-pselector-on-gev-server/2012 "2023-08-23T11:05:33Z")

</div>

I have created a GevServer and would now like to add a pSelector to a node, so that this node is available as with the Linea camera. However, I am not quite clear what a pSelector does exactly, or what its function is. …

---

## [Error when using multistreams, stream.engine\_start](https://forum.commonvisionblox.com/t/error-when-using-multistreams-stream-engine-start/1988)

<div class="topic-metadata">

**Author:** [@Aaron00](https://forum.commonvisionblox.com/u/Aaron00)\
**Replies:** 14\
**Last updated:** [July 26, 2023, 10:55am UTC](https://forum.commonvisionblox.com/t/error-when-using-multistreams-stream-engine-start/1988 "2023-07-26T10:55:23Z")

</div>

I am receiving this error when trying to get multiple streams. An example of the code I am using is below; import cvb def discovery(): devices = cvb.DeviceFactory.discover\_from\_root(cvb.DiscoverFlags.IgnoreVins…

---

## [Use ABRM (Agnostic BootStrap Register Map) for timestamp latch - C-Style](https://forum.commonvisionblox.com/t/use-abrm-agnostic-bootstrap-register-map-for-timestamp-latch-c-style/1965)

<div class="topic-metadata">

**Author:** [@jordanmoly](https://forum.commonvisionblox.com/u/jordanmoly)\
**Replies:** 5\
**Last updated:** [July 19, 2023, 7:03am UTC](https://forum.commonvisionblox.com/t/use-abrm-agnostic-bootstrap-register-map-for-timestamp-latch-c-style/1965 "2023-07-19T07:03:52Z")

</div>

Dear CVB team I was looking for a solution to use TimeStamp features with a JAI GO-5100C-USB (the customer camera, I have with me a GO-5000C-USB). JAI support advised me to use ABRM. I first test with GenICam Browser …

---

## [Question: How to convert and write multiple images on disk in parallel?](https://forum.commonvisionblox.com/t/question-how-to-convert-and-write-multiple-images-on-disk-in-parallel/1985)

<div class="topic-metadata">

**Author:** [@asem](https://forum.commonvisionblox.com/u/asem)\
**Replies:** 2\
**Last updated:** [July 19, 2023, 6:30am UTC](https://forum.commonvisionblox.com/t/question-how-to-convert-and-write-multiple-images-on-disk-in-parallel/1985 "2023-07-19T06:30:15Z")

</div>

tldr: How to do multithreaded and parallel image conversion to PNG and save to disk? I’m trying to convert multiple captured images to PNG and write them to disk. However, it seems like image save function is exclusivel…

---

## [Imager use vs Stream use for C5/C6 acquisition](https://forum.commonvisionblox.com/t/imager-use-vs-stream-use-for-c5-c6-acquisition/1978)

<div class="topic-metadata">

**Author:** [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Replies:** 3\
**Last updated:** [July 12, 2023, 1:07pm UTC](https://forum.commonvisionblox.com/t/imager-use-vs-stream-use-for-c5-c6-acquisition/1978 "2023-07-12T13:07:28Z")

</div>

Hy guys, I’ll try to do a better job than last week for my topic. So, I have a acquisition software used only with AT CX serie camera that work for many years. We used the C5 as the main camera to get range images and…

---

## [NET API Line Overlay Interactions](https://forum.commonvisionblox.com/t/net-api-line-overlay-interactions/1976)

<div class="topic-metadata">

**Author:** [@ben1](https://forum.commonvisionblox.com/u/ben1)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 5:11am UTC](https://forum.commonvisionblox.com/t/net-api-line-overlay-interactions/1976 "2023-07-07T05:11:55Z")

</div>

Hi, I’m designing a user control using the .net API (in C#). I’m displaying a line on the display (using the line overlay pluggin). I would like to remove any user interaction on the overlay. Right now when i have the …

---

## [Installing on a headless Linux](https://forum.commonvisionblox.com/t/installing-on-a-headless-linux/1972)

<div class="topic-metadata">

**Author:** [@antonkristensen](https://forum.commonvisionblox.com/u/antonkristensen)\
**Replies:** 2\
**Last updated:** [June 22, 2023, 9:07am UTC](https://forum.commonvisionblox.com/t/installing-on-a-headless-linux/1972 "2023-06-22T09:07:59Z")

</div>

Hiya, i’m installing CVB on a headless Linux system, codemeter is giving me problems with unmet dependencies, is Codemeter a requirement to run if the system has a USB-license dongle? how do I get the package installed …

---

## [Acquiring images \> 8-bit using CVBpy](https://forum.commonvisionblox.com/t/acquiring-images-8-bit-using-cvbpy/1761)

<div class="topic-metadata">

**Author:** [@JRo85](https://forum.commonvisionblox.com/u/JRo85)\
**Replies:** 19\
**Last updated:** [June 15, 2023, 6:56am UTC](https://forum.commonvisionblox.com/t/acquiring-images-8-bit-using-cvbpy/1761 "2023-06-15T06:56:30Z")

</div>

Hello, I want to acquire images in 10 or 12 bit from a jai Fusion camera. I can acquire 8 bit images without a problem but as soon as I change the PixelFormat.values to “BayerRG10” or “BayerRG12” for the color sensor or…

---

## [Failure to interact with Device after reconnection](https://forum.commonvisionblox.com/t/failure-to-interact-with-device-after-reconnection/1960)

<div class="topic-metadata">

**Author:** [@ThomasDb](https://forum.commonvisionblox.com/u/ThomasDb)\
**Replies:** 1\
**Last updated:** [June 6, 2023, 7:18am UTC](https://forum.commonvisionblox.com/t/failure-to-interact-with-device-after-reconnection/1960 "2023-06-06T07:18:05Z")

</div>

Bug description It appears that any attempted interaction with a device via CVB.Net fails if it disconnected while a stream was running and if the GenICam VIN is responsible for debayering the image. Information OS: Wi…

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

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