# AT and stack 3 cause acquisition problems

**URL:** <https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418>\
**Category:** C++ API\
**Tags:** acquisition, genicam\
**Created:** [May 15, 2025, 2:45pm UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418 "2025-05-15T14:45:05Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![AxelDosSantosDoAlto](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Post date:** [May 15, 2025, 2:45pm UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/1 "2025-05-15T14:45:05Z")

</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 components on it.

We set up the AT to take fixed size images with a maximum of profile (5400). We also open all Ethernet board parameters like Jumbo packets to there maximum. We set also the scsp packet size to it’s maximum.

With the stack two, no problem at all. When we use stack 3 we can see this :

when we should have this :

We also understand that when this happen, we got verry small pikes (in red in the image) contrary to the huge pikes that we have normally (in green) with the task manager :

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/2X/0/081b1fe8884b4d534e67530c6b531634b1dc10c3.png)

When we switched from stack 2 to stack 3 or the inverse, no parameters are changed.

The stack 3 used a composite image to get data. Both camera are on the same Ethernet board, without any other element on it.

We suspect that either we get a improper network settings or a problem with stack 3 like bad uses or missing a parameters that need to set up ? Or have you any ideas ?

---

<div class="post-metadata">

**Author:** ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)\
**Post date:** [May 16, 2025, 8:12am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/2 "2025-05-16T08:12:39Z")

</div>

Hi @AxelDosSantosDoAlto,

With our experience of the new GenTL stack (3rd Gen stack) I expect no difference in performance or stability.  
The first image clearly shows lost packets, which you also should see when checking for corrupt frames or Incomplete frames. if you want to do it programmatically.

I strongly suspect a setting which is different in these two setups. And the one which is set from CVB is the PacketSize. So this would be the first thing to check. Has the packet size the expected value?  
There is a difference how the packet size can be changed during the startup of the VIN-Stack and the GenTL-Stack.

With the VIN-Stack and loading the GenICam.vin file, you use the setting from the INI-File. Mostly configured over the GenICam Browser.

If you use the GenTL-Stack you have to set the feature programmatically. e.g. directly via the “GevSCPSPacketSize” feature.

p.s.  
Please check if you are allowed to post these images publicly. If not, you should delete them.

---

<div class="post-metadata">

**Author:** ![AxelDosSantosDoAlto](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Post date:** [May 16, 2025, 8:44am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/3 "2025-05-16T08:44:56Z")

</div>

Hello @Sebastian

Thanks for your quick answer.

As I wrote on my message, we do set up the scps packet size at is maximum like this, directly after connection to the device and get the nodes we need :  
`m_node_scpsp_packet_size->SetValue(8192);`

Unless we need to do it at another point, normally we are ok on this.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)\
**Post date:** [May 16, 2025, 9:25am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/4 "2025-05-16T09:25:03Z")

</div>

Yes, this should work. Additionally you can check for errors and if the value was set correctly.

---

<div class="post-metadata">

**Author:** ![AxelDosSantosDoAlto](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Post date:** [May 16, 2025, 1:42pm UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/5 "2025-05-16T13:42:50Z")

</div>

@Sebastian  
We already put this value on our code. And we have the problem.  
We will check the value for each packet we will received.  
How can we check for errors ?

---

<div class="post-metadata">

**Author:** ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)\
**Post date:** [May 19, 2025, 7:23am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/6 "2025-05-19T07:23:24Z")

</div>

What I meant with checking for errors in my last post was using try/catch if something goes wrong during access to the node or value of the node.

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Post date:** [July 2, 2025, 5:10am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/7 "2025-07-02T05:10:27Z")

</div>

Hi @AxelDosSantosDoAlto

any news on this?  
Did you find what caused the differences?

Cheers  
Chris

---

<div class="post-metadata">

**Author:** ![AxelDosSantosDoAlto](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Post date:** [July 21, 2025, 8:41am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/8 "2025-07-21T08:41:09Z")

</div>

Hi @Chris  
Sorry for my late answer, I was on sick live.  
We planned test with our client during August, so I cannot give you news for now.  
I will give you that when I can.

---

<div class="post-metadata">

**Author:** ![AxelDosSantosDoAlto](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Post date:** [August 5, 2025, 2:36pm UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/9 "2025-08-05T14:36:43Z")

</div>

Hello @Sebastian , @Chris ,

I was able to do some test today about this problem directly with our client system. It take some time to plan that for different reasons, that is why I write about it now.

So, we check that the node scpsp packet size is always the full value, and if there is a problem accessing it, to have an alarm about it. So far, no problem, we can set it each time we are connected to the camera.

Also, I’m coding now (after this message) the cheking of missing packet value each time we received a image from the camera. I will tell you what happen with that as soon as possible.

For now, as far as I am in my test, I always have the problem (the images can be display here the time of the resolution of the problem, so no worries about it) sometime :

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/2X/3/3ffcca538603db7797b4a55650a08fffe45627aa.jpeg)

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/2X/d/d6dd8fd3978c28e5a7e90667f6d59bfb2f66004c.jpeg)

Beside the scsp packet size, on the ethernet board, we set up the jumbo packet to the maximum, the reception and transmission data to the maximum too.

As a reminder, we received N small images (20 profils or pixel in height) and we reconstruct the all images of 4900 profiles/ pixel in height. We set the CVB buffer to N = 4900 / 20 = 245 small images, for a production time of 8 secondes (each 8 secondes we get a trigger that inform us a new product is here to see). The internal CVB buffer are for now 245 \* 3 =~750 buffer of 20 profiles for one camera. We use two AT C5 SCT cameras.

Hope those information will help you tell me what the problem is.

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Post date:** [August 6, 2025, 6:36am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/10 "2025-08-06T06:36:04Z")

</div>

Hi @AxelDosSantosDoAlto ,

first of all thank you for the detailed description, I will check on this with @Sebastian in more depth today.  
Allow me some additional questions for now:

- Do you see this behaviour with each Image or only occasionally?

- There are 2 Packet Sizes that have to be taken into consideration, one that you set on the "Device Nodenmap, which is very likely the “GevSCPSPacketSize”.  
Then there is another PacketSize in the “DeviceTL” Nodemap. This one is to configure the transportlayer. Usually CVB does the configuration of the TL for you and only setting the correct value in the Device Nodemap should be enough. However I have seen cases where this was not the case.  
So just to finally rule out the packet size, after setting it on the device, you could read out the setting from the DeviceTL Nodemap as well just to be sure.

- PacketTimeout  
In the DataStream Nodemap (yet another Nodemap available through the NodeMaps on the discovered device) there is a PacketTimeout value which is usually set to 200. In the past we had customers with similar behaviour as you have where setting this value either to 0 or a very high value (to pretty much have an endless value) this behaviour was fixed.  
What happened was, when the device did not get any new triggers but the image was not yet ready with being taken, the already taken packets were sent over to the PC containing old image data from the buffer that was not yet overwritten due to the interrupt because of the missing trigger along with the PacketTimeout pushing the camera to send the data.

---

<div class="post-metadata">

**Author:** ![AxelDosSantosDoAlto](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Post date:** [September 5, 2025, 8:20am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/11 "2025-09-05T08:20:20Z")

</div>

Hello all, hello @Chris, hello @Sebastian

Sorry again for the delay, but I had to juggle between tests for this and others subjects !

So, after a few tests, we were able to find a solution to our problem ! Finally !

I have 3 systems that show us the problem I spoke about previously. Two systems use 2 AT C5 SCT cameras, and the third one use 3 AT C5 SCT.

The first test we did was to wait for the problem to come, then to disconnect any ethernet cables connected to the computer, beside the cameras. There we saw that having only the cameras do not create the problem on one system with two cameras and one system with three cameras, and create it on one system with two cameras.

After this test, we try to do what you talk me about, checking or changing node, but nothing happen. We delete those change after this, so that our last test will not interfere with those changed.

Last test comming, we try to disable the network throlling index in the registry base, who is 10 basically for all standard Windows OS, by putting the value to FFFFFFFF.

And… It work ! No more stripped images since more than 24 hours on our three systems.

So, I understand that stack 3 used a more generic way to communicate with the camera (in my memory stack 2 was CVB proprietary way to communicate, with access to one kind of data from the camera at the time), and because stack 3 can give us multiple data in one shot, so that is why we didn’t understand why the problem was on stack 3 and not and stack 2…

Anyways, did you use on some cases this network throlling index ?

It will help me to have more information about difference in stack 2 and 3, and why stack 3 have this problem, if you can tell me. And do you know if we can have a similar solution with CVB setup that did’n’t require to change network throlling index in the registry base ?

Thanks again for your time.

I will wait for your answer, whatever it is, to mark as resolve this discussion.

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Post date:** [September 5, 2025, 10:25am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/12 "2025-09-05T10:25:18Z")

</div>

Hi @AxelDosSantosDoAlto

thats great news! I am happy, that you found a way to get your system up and running.

About the details in the AcquisitionStack: @s-woe or @Andreas could you provide more information on this topic or generally jump in with some comments about what @AxelDosSantosDoAlto found out here?

Thank you and cheers  
Chris

---

<div class="post-metadata">

**Author:** ![Andreas](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/andreas/32/75_2.png) [@Andreas](https://forum.commonvisionblox.com/u/Andreas)\
**Post date:** [September 5, 2025, 10:42am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/13 "2025-09-05T10:42:56Z")

</div>

Hi @AxelDosSantosDoAlto,

we do not use or change the NetworkThrottlingIndex in our software, neither in the old nor in the new stack.  
To my knowledge we never saw a system where disabling was required. Nevertheless, I would assume that you system was running on it’s limit and just needed a little extra to regain stability.

Be aware that disabling it may have side effects, depending on what else is running on the system.

Thank you for your feedback.

---

<div class="post-metadata">

**Author:** ![AxelDosSantosDoAlto](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@AxelDosSantosDoAlto](https://forum.commonvisionblox.com/u/AxelDosSantosDoAlto)\
**Post date:** [September 5, 2025, 10:45am UTC](https://forum.commonvisionblox.com/t/at-and-stack-3-cause-acquisition-problems/2418/14 "2025-09-05T10:45:14Z")

</div>

Thanks for your answer @Andreas. The next step for us is to see if by changing the value of this parameter from 10 to something bigger instead of disable it will help or not. I will let you know here if we can find something interesting.

And, if you have a way to manage this problem without changing the network throlling index, I am all ears. 🙂
