Function rcg::setRegister

Function Documentation

size_t rcg::setRegister(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name, const uint8_t *buffer, size_t len, bool exception = false)

Set value of type register.

Parameters:
  • nodemap – Initialized nodemap.

  • name – Name of feature.

  • bufferBuffer of length len.

  • len – Number of bytes to write.

  • total – Total size of register. A null pointer can be given if this is not required.

  • exception – True if an error should be signaled via exception.

Returns:

Number of successfuly written bytes.