Using OPC Data reader DLL getting exponenetial values|Miscellaneous|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Using OPC Data reader DLL getting exponenetial values
Avatar
Sandeep Veeravalli
New Member
Members
Forum Posts: 2
Member Since:
11/13/2023
sp_UserOfflineSmall Offline
1
11/14/2023 - 04:26
sp_Permalink sp_Print

Actually when we are trying to connect through Opc Data Reader connect tags to Source system the data reader is getting only the Exponenetial value and due to this our tag calculations are not fulfilled. 

 

For example :  pulling the data from source system is receiving as 2.04E2 which is equal to 204.0 whereas the precise value is 204.7137.

 

please help us on this

Avatar
Randy Armstrong
Admin
Forum Posts: 1580
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
11/14/2023 - 04:53
sp_Permalink sp_Print

1) The value transmitted on the wire via OPC is an IEEE floating point value. The rendering of that value as a string is a choice made by the client that is not related to the value received.

2) It is not clear how you determined the precise value but if the client is rendering the value as a string incorrectly it may also be truncating the value.

I suggest you use a different client and see what you get.

Avatar
Sandeep Veeravalli
New Member
Members
Forum Posts: 2
Member Since:
11/13/2023
sp_UserOfflineSmall Offline
3
11/14/2023 - 08:28
sp_Permalink sp_Print

Is it possible to setup a call with you for much clarity on this one?

Avatar
Randy Armstrong
Admin
Forum Posts: 1580
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
11/14/2023 - 09:12
sp_Permalink sp_Print sp_EditHistory

Questions asked and answered on the forum benefit all readers.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 20
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1446
Posts: 4891