Gaylord Williams Posted April 27 Report Share Posted April 27 Hi guys, In a VAR i am reading in a data exchange zone, 16 reals words of 16 bits floatting format. In Visilogic. The MFs are 32-bit format. I tried to read directly from the MFs to get a readable value, but the words overlap with the others register words. To solve this problem i used Fernando's technique i saw in his topic, I moved my readed MI to another memory zone, 1 word out of 2, in order to transfer this zone to the MFs via the "structure" function and then be able to read them. However, I have a very small loss of precision(exemple 1498 instead of 5000 , and for power 147, 2663 instead of 147,00 its not a lot but significant in my case. My question is: Is there a way to read a 16-bit word in real floatting format? whitout doing what i did Thank you for your time guys Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.