|
ctrlX Data Layer API for Python
3.4.0
The ctrlX Data Layer API allows access to the ctrlX Data Layer with Python
|
Public Member Functions | |
| def | __init__ (self, str addr, C_DLR_VARIANT data, ctypes.c_uint64 time, Result result) |
| def | __enter__ (self) |
| def | __exit__ (self, exc_type, exc_val, exc_tb) |
| def | close (self) |
| str | get_address (self) |
| Variant | get_data (self) |
| datetime.datetime | get_datetime (self) |
| Result | get_result (self) |
| def __init__ | ( | self, | |
| str | addr, | ||
| C_DLR_VARIANT | data, | ||
| ctypes.c_uint64 | time, | ||
| Result | result | ||
| ) |
| addr | Address for the response |
| data | Output data of the response |
| time | Timestamp of the response |
| result | Result of the response |
Definition at line 34 of file bulk.py.
References Response.__address, _Request.__address, Response.__data, _Request.__data, NotifyItemPublish.__data, NotifyItem.__data, Response.__result, Response.__timestamp, and NotifyInfoPublish.__timestamp.
| str get_address | ( | self | ) |
get_address
Definition at line 65 of file bulk.py.
References Response.__address, and _Request.__address.
| Variant get_data | ( | self | ) |
get_data
Definition at line 82 of file bulk.py.
References Response.__data, _Request.__data, NotifyItemPublish.__data, and NotifyItem.__data.
Referenced by Variant.get_flatbuffers().
| datetime.datetime get_datetime | ( | self | ) |
get_datetime
datetime object as timestamp (FILETIME) 64 bit 100ns since 1.1.1601 (UTC)
Definition at line 93 of file bulk.py.
References Response.__timestamp, and NotifyInfoPublish.__timestamp.
| Result get_result | ( | self | ) |
get_result
Definition at line 73 of file bulk.py.
References Response.__result.