|
APIs, concepts, guides, and more
|
| firmware_value_get | ( | firmware_value, | |
| data_type ) |
Read a FirmwareValue (a 64-bit union) as the Python value of the given RSIDataType.
Pair it with the AddressDataTypeGet family (Axis, MultiAxis, MotionController,
RapidCodeNetworkNode) so recorded or interrupt user data is interpreted with the
type the firmware actually stores at that address, e.g.:
data_type = node.AddressDataTypeGet(RapidCode.RSINetworkNodeAddressType_RSINetworkNodeAddressTypeAL_STATUS)
value = helpers.firmware_value_get(controller.RecorderRecordDataFirmwareValueGet(0), data_type)
Definition at line 271 of file _helpers.py.