Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Multiple Variable Values from object node #17

Open
hleon32 opened this issue Mar 19, 2020 · 2 comments
Open

Read Multiple Variable Values from object node #17

hleon32 opened this issue Mar 19, 2020 · 2 comments

Comments

@hleon32
Copy link

hleon32 commented Mar 19, 2020

We are able to get variable node with individual tags but we cannot read multiple tag values using one GET call. Also, we are having issues with Datatype as our variable node datatype is Long and not able to cast to BuiltInType. How can we read multiple tag values using one GET request?

@msalafia
Copy link
Collaborator

Unfortunately, it is only possible to read a single value per request. There is no batch request implemented. Concerning your DataType issue, instead, you should provide more details because Long is neither a BuiltIn DataType nor a Standard DataType as defined in part 3. Anyway, as a general rule you should always reduce any DataType usage in a BuiltIn DataType adoption.

@Tarifsiz
Copy link

Tarifsiz commented Mar 1, 2023

The response of the method, await session.ReadValuesAsync(nodeIds) returns (DataValueCollection, IList<ServiceResult>).
Since we are providing list of nodeIds, we are expecting to have which DataValue object (in DataValueCollection response) belongs to which nodeId.
As far as I understand, it's not possible at the moment :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants