EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-01-14 03:53 PM . Last Modified: 2023-05-03 12:19 AM
Where can one find the enumerations for the DataType OPC property? I feel like this used to be on the resource center or in the Schema, but it's nowhere to be found anymore. I ran a query to get what I needed but was curious where else we can look to find all enumerated values.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-01-14 04:43 PM . Last Modified: 2020-01-14 04:50 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-01-14 04:43 PM . Last Modified: 2020-01-14 04:50 PM
Interestingly enough it is in the resource centre, just the draft content (since 2009!) so not public 🙂
Copy and paste as below, may well be outdated though (especially given Proteus, BMS and TMX are no longer core drivers):
The DataType property, found in the CDBPoint table, details the automation VARTYPE of the point's value.
3 | VT_I4 | Integer (SNMP), Meter Period (BMS) |
4 | VT_R4 | Analogue, Counter, Minimum, Maximum, Mean, Rate of Change, etc. |
5 | VT_R8 | Analogue, Counter |
7 | VT_DATE | Date/Time |
8 | VT_BSTR | String |
17 | VT_UI1 | Digital, Demand Buffer (Proteus) |
19 | VT_UI4 | Cardinal (SNMP), Runtime (Proteus/BMS/TMX) |
The property is read-only, so you cannot change the point type by changing it.
A common misconception is that this allows queries, logic and other parts of ClearSCADAto determine a point type easily rather than using TypeName or TypeDesc with a list of possible classes of each type, however this will rarely work as several types of point share each data type. |
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-01-14 04:43 PM . Last Modified: 2020-01-14 04:50 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-01-14 04:43 PM . Last Modified: 2020-01-14 04:50 PM
Interestingly enough it is in the resource centre, just the draft content (since 2009!) so not public 🙂
Copy and paste as below, may well be outdated though (especially given Proteus, BMS and TMX are no longer core drivers):
The DataType property, found in the CDBPoint table, details the automation VARTYPE of the point's value.
3 | VT_I4 | Integer (SNMP), Meter Period (BMS) |
4 | VT_R4 | Analogue, Counter, Minimum, Maximum, Mean, Rate of Change, etc. |
5 | VT_R8 | Analogue, Counter |
7 | VT_DATE | Date/Time |
8 | VT_BSTR | String |
17 | VT_UI1 | Digital, Demand Buffer (Proteus) |
19 | VT_UI4 | Cardinal (SNMP), Runtime (Proteus/BMS/TMX) |
The property is read-only, so you cannot change the point type by changing it.
A common misconception is that this allows queries, logic and other parts of ClearSCADAto determine a point type easily rather than using TypeName or TypeDesc with a list of possible classes of each type, however this will rarely work as several types of point share each data type. |
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-01-16 05:57 AM
Awesome, thank you! This should make for some more efficient processes, rather than comparing string values of TypeNames.
I could've sworn these were previously enumerated somewhere. Either way -- thanks again!
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.