Andrea Carlini
New Member
Members
Forum Posts: 1
Member Since:
05/16/2017
05/16/2017
Offline
Hi!
I'm writing a .net application based on opc UA base libraries. It manages read, write and subscriptions and it's almost working fine. I'm testing it with the opc foundation server and with a kepware opc ua server.
I have an error when trying to write a tag of type 'long' on the kepware server. The error i get says: BadTypeMismatch,0x80740000,The value supplied for the attribute is not of the same type as the attribute's value.
I'm the C# code i convert the long type to 'System.Int64' .net type. I guess it's the wrong one, but i can't find what's the correct .net data type i should use.
Thank you very much!
Andrea
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 47
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855