PySpin.RegisterNode

class RegisterNode(*args, **kwargs)

Interface for string properties.

Get(self, pBuffer, Length, Verify=False, IgnoreCache=False)

Parameters

pBuffer: uint8_t * Length: int64_t Verify: bool IgnoreCache: bool

Fills a buffer with the register’s contents

param pBuffer:

The buffer receiving the data to read

param Length:

The number of bytes to retrieve

param Verify:

Enables Range verification (default = false). The AccessMode is always checked

param IgnoreCache:

If true the value is read ignoring any caches (default = false)

The value read

GetAddress(self) int64_t

Retrieves the Address of the register

GetLength(self) int64_t

Retrieves the Length of the register [Bytes]

Set(self, pBuffer, Verify=True)

Parameters

pBuffer: uint8_t const * Verify: bool

Set the register’s contents

param pBuffer:

The buffer containing the data to set

param Length:

The number of bytes in pBuffer

param Verify:

Enables AccessMode and Range verification (default = true)

SetReference(self, pBase)

Parameters

pBase: Spinnaker::GenApi::INode *

overload SetReference for Register