Unable to get Item Name in Item Properties | Classic OPC: DA, A&E, HDA, XML-DA, etc. | Forum


— 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
New Member
Forum Posts: 1
Member Since:
sp_UserOfflineSmall Offline
11/09/2017 - 23:24
sp_Permalink sp_Print


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: 95

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Newest Members:


Forum Stats:

Groups: 2

Forums: 9

Topics: 462

Posts: 1298


Member Stats:

Guest Posters: 1

Members: 81366

Moderators: 10

Admins: 3

Administrators: michael.bryant@opcfoundation.org, thomas.burke@opcfoundation.org, Randy Armstrong

Moderators: matthias.damm@ascolab.com, s.hoppe@beckhoff.com, paul.hunkar@dsinteroperability.com, jouni.aro@prosys.fi, tim.fortin@honeywell.com, Jim.Luth@Schneider-Electric.com, Karl-Heinz Deiretsbacher, stefan.hoppe@opcfoundation.org, alexander.allmendinger@opcfoundation.org, Karl Deiretsbacher