C5 timestamp et input line data

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 are .

I try to get the timestamp and input line data from the C5, by using the chunk boolean node (Std::ChunkModeActie), but I don’t know how to get the information that I want after that.

I saw that in the “Transport layer” section, “GigE vision” part, I have two nodes, latch timestamp and timestamp, that I can use but it’s seem that I need to ask for a timestamp with the latch node, and get it, and it’s seem the wrong way.

Anyone can give me some hints of how to get timestamp and input line states from the C5 ?

Best regards

@AxelDosSantosDoAlto

Hey there!

I assume you’ve already set the AttachChunk to 1, otherwise, no ChunkData will be attached.

There should be a node called “Std::ChunkTimestamp”; this could be the right node for your needs. However, I’m not entirely sure about the “input line data.” Could you please provide further clarification?

Regards
Silas

Hi @silas

Yes, I have activated the chunk data for both C5 and C6.

The C6 camera give me the timestamp and some c++ flags where I can read the state of the input signals sent to the camera (the trigger for instance). For the C5, I use for now an IO card on the computer for read those information, and I was thinking maybe there is a way to use the C5 to get what I want, like the C6.

Best regards,

Hi @AxelDosSantosDoAlto,

please have a look here for reading the chunk data from the C5 likewise to the C6:
https://forum.commonvisionblox.com/t/working-with-3d-cameras-of-automation-technology-in-cvb/532/17
If you scroll down on the formum entry on the link, there is an additional entry describing how to read the IO status from the chunk data. This is reading the chunk from the transmitted image frame.

Otherwise it is possible to read the chunk from the nodemap, which is described here:
https://forum.commonvisionblox.com/t/reading-chunkencodervalue-from-at-c5/1398/3

1 Like

Hi guys, Hi @Simon

I try what you explain to me, without any success. The second option, the simpliest for me, isn’t working for me. I put “AttachChunk” to 1 before opening C5 camera, and I always get a error when I try to get the node “ChunkScanLineSelector” or others.
I noticed that I don’t get this image
image
when I open my camera, only the Chunk Mode and Chunk Mode Selector is present.

I will try the first option, who seems to take some time to create in C++. Maybe it will work.

Thanks again for your time.

Hi @AxelDosSantosDoAlto,

there a two settings that need to be applied to access chunk data with a C5.

  1. Set Chunk Mode to True in the camera nodemap.
  2. Set AttachChunk to True in the CVB driver.
    Both actions are described in detail in the links I added in the post above.
    In case of the C5 there is a behaviour that if you first set Chunk Mode to true, you will have to close and open the camera again. The best way is to use one of the UserSets from the camea to set Chunk Mode to true, save the UserSet and set it as startup (default) UserSet.
    All further communication here should be followed on the stemmer support communication line that is already in progress.
    FYI @MandanaS