Integer

class itala.itala.IInteger(*args, **kwargs)

Bases: IValue

Interface for integer properties

property address: int

Retrieves the Address of the register

property float_alias: GENAPI_NAMESPACE::IFloat *

gets the interface of an integer alias node.

get(buffer: int, Verify: bool = False, IgnoreCache: bool = False) None
Fills a buffer with the register’s contents
type pBuffer:

uint8_t

param pBuffer:

The buffer receiving the data to read

type Length:

int

param Length:

The number of bytes to retrieve

type Verify:

boolean, optional

param Verify:

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

type IgnoreCache:

boolean, optional

param IgnoreCache:

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

get_value(verify=False, ignore_cache=False)
impose_max(Value: int) None

Restric maximum value

impose_min(Value: int) None

Restric minimum value

property inc: int

Get increment

property inc_mode: GENAPI_NAMESPACE::EIncMode

Get increment

property length: int

Retrieves the Length of the register [Bytes]

property list_of_valid_values: int64_autovector_t

Implementation of IInteger::GetListOfValidValues

property max: int

Get maximum value allowed

property min: int

Get node value Get node value Get minimum value allowed

property representation: GENAPI_NAMESPACE::ERepresentation

Get recommended representation

set(buffer: int, Verify: bool = True) None
Set the register’s contents
type pBuffer:

uint8_t

param pBuffer:

The buffer containing the data to set

type Length:

int

param Length:

The number of bytes in pBuffer

type Verify:

boolean, optional

param Verify:

Enables AccessMode and Range verification (default = true)

set_value(value, verify=True)
property thisown

The membership flag

property unit: str

Get the physical unit name

property value