Unable to get Item Name in Item Properties|Classic OPC: DA, A&E, HDA, XML-DA, etc.|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
Unable to get Item Name in Item Properties
Avatar
Nasia Gracias
New Member
Members
Forum Posts: 1
Member Since:
11/02/2017
sp_UserOfflineSmall Offline
1
11/09/2017 - 23:24
sp_Permalink sp_Print

Hi,

We have written the following code to retrieve the data types of the item as follows:

ItemPropertyCollection[] itemProperties = server.GetProperties(listOfItems, new PropertyID[]{Property.DATATYPE},true};

  //we are storing the item and its datatype in a file

}

We have tested this code with the Matrikon Simulator server, and the code returns the ItemName as well as its dataType.

But for the prod server only the DataType field is returned with a value but the ItemName field is null. Thus we are unable to know the datatype is for which Item.

Please let me know what needs to be done to get the ItemName.

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