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

Avatar

Please consider registering
Guest

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

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

mokamadkipli10@gmail.com: 32

ashutoshweb3@gmail.com: 30

Rod Stein: 25

saurabhdeshpande49@gmail.com: 25

sambasiva.a@siemens.com: 24

Martin Lang: 22

Randy Armstrong (Sparhawk): 20

paul.hunkar@opcfoundation.org: 19

zbynekz: 18

fred.loveless@kepware.com: 11

Newest Members:

leixu2@gc.omron.com

blanchehnng3110@tutorkwang.com

yoshinori.fujita.du@oval.co.jp

nkalyanc@hotmail.com

murilosilveirarocha@gmail.com

yatindra.kamath@schneider-electric.com

anette@c.unisexjewelry.org

michael@vernetzen.com.au

tyu86482192@gmail.com

abrmacarde@hotmail.com

Forum Stats:

Groups: 2

Forums: 9

Topics: 300

Posts: 841

 

Member Stats:

Guest Posters: 0

Members: 57616

Moderators: 8

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