P
Hello,
I am developing some kind of SCADA application and have a problem with the interpretation of data. Let's assume we have a client which stores a double float, which has a length of 64 bit. The value is presented as 12345678 (each number refers to one byte number).
The client has got a lot of different ways to store and send it to the master (the following byte orders show the sent data words):
1. 12 34 56 78
2. 87 65 43 21
3. 78 56 34 12
Is it also possible that a client sends the following data words:
4. 34 12 78 56
5. 43 21 87 65
6. 21 34 56 87
I assume that 4, 5 and 6 are rather unlikely because this would mean a mix of big endian and little endian notation within one client. Is that correct?
Are any other combinations possible?
Of course this problem also occurs when operating strings.
Thank you for your help.
I am developing some kind of SCADA application and have a problem with the interpretation of data. Let's assume we have a client which stores a double float, which has a length of 64 bit. The value is presented as 12345678 (each number refers to one byte number).
The client has got a lot of different ways to store and send it to the master (the following byte orders show the sent data words):
1. 12 34 56 78
2. 87 65 43 21
3. 78 56 34 12
Is it also possible that a client sends the following data words:
4. 34 12 78 56
5. 43 21 87 65
6. 21 34 56 87
I assume that 4, 5 and 6 are rather unlikely because this would mean a mix of big endian and little endian notation within one client. Is that correct?
Are any other combinations possible?
Of course this problem also occurs when operating strings.
Thank you for your help.
