Skip to content

How to cast VariantType (datatype) when batch writing to UA Server #1450

Answered by AndreasHeine
ryangu18 asked this question in Q&A
Discussion options

You must be logged in to vote

you could read the DataType of the tags in Dest UA Server up front after connected and Map it to the NodeIds of the Source Server (a simple dict "SrcNodeId": "DstVariantType") and then loop one time over the batch and create the list of DataValues with the new VariantTypes and with the old Values and Timestamps?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ryangu18
Comment options

@AndreasHeine
Comment options

@ryangu18
Comment options

@AndreasHeine
Comment options

Answer selected by ryangu18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants