def get_real(_bytearray, byte_index):
    x = _bytearray[byte_index:byte_index + 4]
    real = struct.unpack('>f', struct.pack('4B', *x))[0]
    return real
Get real value. create float from 4 bytes
dataset/ETHPy150Open gijzelaerr/python-snap7/snap7/util.py/get_real