PySpin.IRegister

class IRegister(*args, **kwargs)

Proxy of C++ Spinnaker::GenApi::IRegister class.

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

Parameters

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

Get(self, size_read) -> std::vector< uint8_t >

Parameters

size_read: int64_t

Get(self, size_read, verify_range) -> std::vector< uint8_t >

Parameters

size_read: int64_t verify_range: bool

Get(self, size_read, verify_range, ignore_cache) -> std::vector< uint8_t >

Parameters

size_read: int64_t verify_range: bool ignore_cache: bool

Gets a NumPy array representing the contents of the register, as 8-bit unsigned ints.

Parameters:

pBuffer: The number of bytes to retrieve

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

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

GetAddress(self) int64_t
GetLength(self) int64_t
Set(self, pBuffer, Verify=True)

Parameters

pBuffer: uint8_t const * Verify: bool

Set the register’s contents with the contents (as 8-bit unsigned ints) of the given array.

Parameters:

pBuffer: The NumPy array containing the data to set

Verify: Enables AccessMode and Range verification (default = true)