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

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@quartic.ai
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: 95

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Newest Members:

xuxiaodong@aliyun.com

Forum Stats:

Groups: 2

Forums: 9

Topics: 418

Posts: 1182

 

Member Stats:

Guest Posters: 1

Members: 76275

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