Integer#
- class itala.itala.IInteger(*args, **kwargs)#
Bases:
IValue
Interface for integer properties
- property thisown#
The membership flag
- impose_min(Value)#
Restric minimum value
- impose_max(Value)#
Restric maximum value
- set(buffer, Verify=True)#
- 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)
- get(buffer, Verify=False, IgnoreCache=False)#
- 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)
- property min: int#
Get node value Get node value Get minimum value allowed
- property max: int#
Get maximum value allowed
- property inc_mode: GENAPI_NAMESPACE::EIncMode#
Get increment
- property inc: int#
Get increment
- property list_of_valid_values: int64_autovector_t#
Implementation of IInteger::GetListOfValidValues
- property representation: GENAPI_NAMESPACE::ERepresentation#
Get recommended representation
- property unit: str#
Get the physical unit name
- property address: int#
Retrieves the Address of the register
- property length: int#
Retrieves the Length of the register [Bytes]
- property float_alias: GENAPI_NAMESPACE::IFloat *#
gets the interface of an integer alias node.
- get_value(verify=False, ignore_cache=False)#
- set_value(value, verify=True)#
- property value#