|
ITALA_API_C ItalaError | NODE_IntegerSetValue (H_NODE hNode, int64_t value) |
|
ITALA_API_C ItalaError | NODE_IntegerGetValue (H_NODE hNode, int64_t *pValue) |
|
ITALA_API_C ItalaError | NODE_IntegerGetMin (H_NODE hNode, int64_t *pMin) |
|
ITALA_API_C ItalaError | NODE_IntegerGetMax (H_NODE hNode, int64_t *pMax) |
|
ITALA_API_C ItalaError | NODE_IntegerGetIncMode (H_NODE hNode, IncMode *pIncMode) |
|
ITALA_API_C ItalaError | NODE_IntegerGetInc (H_NODE hNode, int64_t *pIncrement) |
|
ITALA_API_C ItalaError | NODE_IntegerValidValuesNum (H_NODE hNode, size_t *pNumOfValidValues) |
|
ITALA_API_C ItalaError | NODE_IntegerGetValidValueByIndex (H_NODE hNode, size_t index, int64_t *pValidValue) |
|
ITALA_API_C ItalaError | NODE_IntegerGetRepresentation (H_NODE hNode, Representation *pRepresentation) |
|
ITALA_API_C ItalaError | NODE_IntegerGetUnit (H_NODE hNode, char *unit, size_t *pSize) |
|
ITALA_API_C ItalaError | NODE_IntegerImposeMin (H_NODE hNode, int64_t minImpose) |
|
ITALA_API_C ItalaError | NODE_IntegerImposeMax (H_NODE hNode, int64_t maxImpose) |
|
All the methods related to nodes managed by GenApi.
◆ NODE_IntegerSetValue()
ITALA_API_C ItalaError NODE_IntegerSetValue |
( |
H_NODE |
hNode, |
|
|
int64_t |
value |
|
) |
| |
Set the value of the integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[in] | value | Value to set. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetValue()
ITALA_API_C ItalaError NODE_IntegerGetValue |
( |
H_NODE |
hNode, |
|
|
int64_t * |
pValue |
|
) |
| |
Get the value of the integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | pValue | Value of the Node. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetMin()
ITALA_API_C ItalaError NODE_IntegerGetMin |
( |
H_NODE |
hNode, |
|
|
int64_t * |
pMin |
|
) |
| |
Get the minimum value of the integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | pMin | Minimum value. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetMax()
ITALA_API_C ItalaError NODE_IntegerGetMax |
( |
H_NODE |
hNode, |
|
|
int64_t * |
pMax |
|
) |
| |
Get the maximum value of the integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | pMax | Maximum value. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetIncMode()
Get the increment mode of the integer Node, if any.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | pIncMode | Increment mode. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetInc()
ITALA_API_C ItalaError NODE_IntegerGetInc |
( |
H_NODE |
hNode, |
|
|
int64_t * |
pIncrement |
|
) |
| |
Get the increment of the integer Node, if any.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | pIncrement | Increment of the Node. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerValidValuesNum()
ITALA_API_C ItalaError NODE_IntegerValidValuesNum |
( |
H_NODE |
hNode, |
|
|
size_t * |
pNumOfValidValues |
|
) |
| |
Get the number of possible valid vlaues of the integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | pNumOfValidValues | Number of valid values. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetValidValueByIndex()
ITALA_API_C ItalaError NODE_IntegerGetValidValueByIndex |
( |
H_NODE |
hNode, |
|
|
size_t |
index, |
|
|
int64_t * |
pValidValue |
|
) |
| |
Get valid value of the integer Node, given a specific index.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[in] | index | Index of the valid value. |
[out] | pValidValue | Valid value. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetRepresentation()
Get recommended representation of a integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | pRepresentation | Recommended representation. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerGetUnit()
ITALA_API_C ItalaError NODE_IntegerGetUnit |
( |
H_NODE |
hNode, |
|
|
char * |
unit, |
|
|
size_t * |
pSize |
|
) |
| |
Get the physical unit name of a integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | unit | Array of char, unit name. |
[in,out] | pSize | Maximum element of the array in input, number of element filled in output. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerImposeMin()
ITALA_API_C ItalaError NODE_IntegerImposeMin |
( |
H_NODE |
hNode, |
|
|
int64_t |
minImpose |
|
) |
| |
Restrict minimum value of integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | minImpose | Value to imopse as minimum. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODE_IntegerImposeMax()
ITALA_API_C ItalaError NODE_IntegerImposeMax |
( |
H_NODE |
hNode, |
|
|
int64_t |
maxImpose |
|
) |
| |
Restrict maximum value of integer Node.
- Parameters
-
[in] | hNode | Handle to Node instance, should be a Integer node. |
[out] | maxImpose | Value to imopse as maximum. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.