AnsweredAssumed Answered

Make a swap word (floating point) calculation in a TAG

Question asked by joaotmarinho on Jun 1, 2017
Latest reply on Jun 5, 2017 by Jerome Lefebvre

Hi guys,

 

Is it possible to make a binary to integer convertion and then do a swap Word (floating point) in tag using Analyses or PerformanceEquation?

 

I have to read two tags, values in int16 as the following:

Int16          Binary

31904        0111110010100000

17965        0100011000101101

 

Then I need to concatenate them:

Binary

01000110001011010111110010100000

 

Finally, make a swap (floating point calculation) to return the value as float32:

float32           Binary

11103,15      01000110001011010111110010100000

 

Thanks.

Outcomes