Y
I am communicating between an SLC-500 and an external device over Modbus. The external device returns much of it's data in double (64 bit) floating point format. RSView does not support the data type double for tags while double is supported within VBA.
I have been unable to find a way to change the address of a variable (as is possible in c) so
I am currently reading in 4 integer values, writing them as ints (16 bit) to a file in VBA and reading the data back into a double variable.
Needless to say this method is very slow.
I would appreciate and input on a more reasonable method of reconstructing the 4 ints into a double in RSView. A long integer result is also acceptable.
I have been unable to find a way to change the address of a variable (as is possible in c) so
I am currently reading in 4 integer values, writing them as ints (16 bit) to a file in VBA and reading the data back into a double variable.
Needless to say this method is very slow.
I would appreciate and input on a more reasonable method of reconstructing the 4 ints into a double in RSView. A long integer result is also acceptable.