Well, for starters, you can’t just cast a WriteRequest into a List, you need to create a new list and add your request to it. That’s probably the cause of any errors you’re getting when you try to run right now.
Beyond that it would be helpful if you included any error messages you’re getting, or if you’re not getting any and the call is actually completing, log the quality/result you get from the write call.
However it doesnt work with a Custom Provider that I am using. For example I currently have a Provider created with the simple tag provider.
Its name is [ABC]abc/abc/Quality.Value.
After compiling I tried it out but the provider [ABC] is just empty. Even if i refresh it with a button which normally always works, it doesnt get shown. I also debugged it and i see the provider getting filled but when i return to the Designer it still is empty.
I dont get any errors.
Any idea why my piece of code doesnt work with the simpletagprovider?
I had an * in the name of my Provider for example TEST*TEST/abc.Value.
When I tried to write to it, it fails. Creating a Tag Provider in the Designer wont allow the * character but if you create the SimpleTagProvider from a module there is no restriction on it.
Thanks to Kevin for pointing this out during the training.