![]() |
G5.Api 1.22.0.121
.Net API to control Regatron G5 devices
|
DataExchange provides methods to read and write values from/to
dedicated objects out of the ObjectDirectory of the G5 device.
The object addressing consists of a device id,
board id, object-group index and object index.
More...
Public Member Functions | |
| UInt16 | ReadUInt16Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read an unsigned 16bit integer object value from the specified board. | |
| Int16 | ReadInt16Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read a signed 16bit integer object value from the specified board. | |
| UInt32 | ReadUInt32Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read an unsigned 32bit integer object value from the specified board. | |
| Int32 | ReadInt32Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read a signed 32bit integer object value from the specified board. | |
| Int64 | ReadInt64Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read a 64 bit signed integer object value from the specified board. | |
| UInt64 | ReadUInt64Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read a 64 bit unsigned integer object value from the specified board. | |
| Single | ReadSingleValue (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read a 32bit floating point object value from the specified board. | |
| String | ReadString (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex) |
| Read a string object value from the specified board. | |
| Byte[] | ReadData (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, UInt32 dataSize) |
| Read a data object value from the specified board. | |
| void | WriteUInt16Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, UInt16 value) |
| Write an unsigned 16bit integer object value to the specified board. | |
| void | WriteInt16Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, Int16 value) |
| Write a signed 16bit integer object value to the specified board. | |
| void | WriteUInt32Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, UInt32 value) |
| Write an unsigned 32bit integer object value to the specified board. | |
| void | WriteInt32Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, Int32 value) |
| Write a signed 32bit integer object value to the specified board. | |
| void | WriteInt64Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, Int64 value) |
| Write a signed 64 bit integer object value to the specified board. | |
| void | WriteUInt64Value (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, UInt64 value) |
| Write a unsigned 64 bit integer object value to the specified board. | |
| void | WriteSingleValue (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, Single value) |
| Write a 32bit floating point object value to the specified board. | |
| void | WriteString (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, String value) |
| Write a string object value to the specified board. | |
| void | WriteData (UInt16 deviceId, UInt16 boardId, UInt32 objectGroupIndex, UInt32 objectIndex, Byte[] data) |
| Write a data object value to the specified board. | |
DataExchange provides methods to read and write values from/to
dedicated objects out of the ObjectDirectory of the G5 device.
The object addressing consists of a device id,
board id, object-group index and object index.
|
inline |
Read a data object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| dataSize | Number of bytes to read. |
| G5ApiException |
|
inline |
Read a signed 16bit integer object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
Read a signed 32bit integer object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
Read a 64 bit signed integer object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
Read a 32bit floating point object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
Read a string object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
Read an unsigned 16bit integer object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
Read an unsigned 32bit integer object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
Read a 64 bit unsigned integer object value from the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| G5ApiException |
|
inline |
|
inline |
Write a signed 16bit integer object value to the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| value | Value to set. |
| G5ApiException |
|
inline |
Write a signed 32bit integer object value to the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| value | Value to set. |
| G5ApiException |
|
inline |
Write a signed 64 bit integer object value to the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| value | Value to set. |
| G5ApiException |
|
inline |
Write a 32bit floating point object value to the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| value | Value to set. |
| G5ApiException |
|
inline |
|
inline |
Write an unsigned 16bit integer object value to the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| value | Value to set. |
| G5ApiException |
|
inline |
Write an unsigned 32bit integer object value to the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| value | Value to set. |
| G5ApiException |
|
inline |
Write a unsigned 64 bit integer object value to the specified board.
| deviceId | Id of the target device. |
| boardId | Id of the target board within the target device. |
| objectGroupIndex | Object group index according the G5 object directory. |
| objectIndex | Object index according the G5 object directory. |
| value | Value to set. |
| G5ApiException |