Skip to content

Read/write for custom registers not in XML camera configuration file #51

@AndreaFrau

Description

@AndreaFrau

I have a custom register in an Allied Vision Prosilica camera at address 0x16104, which is not defined as a node in the XML file.
I am able to read and write in that register using proprietary SDK (Vimba).
However, I am not able to do so via rc_genicam_api.
I tried with:

  • CPort read/write methods

or

  • getRegister/setRegister functions in config.h

I got the following error messages:

terminate called after throwing an instance of 'rcg::GenTLException'
what(): CPort::Read(address=0x16104, length=28): ReadMem failed. failed. (-1015)

or

terminate called after throwing an instance of 'std::invalid_argument'
what(): Feature not found: 0x16104

I also tried to load an amended xml config file with the new node but it didn't work and the following exception is thrown

terminate called after throwing an instance of 'GenICam_3_4::RuntimeException'

Is it possible to read/write such registers with the current rc_genicam?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions