Hello!
I’m trying to write to a remote tag provider using a button onActionPerformed script.
configuration = self.view.custom.configuration
#Write into memory tag
paths = ['[default]configuration','[default_bkp]configuration']
system.tag.writeBlocking(paths, [configuration]*len(paths))
Basically, I get the configuration from a popup custom property configured as object
and I want to write this data into configuration
which is a Document tag present in both tag providers [default]
and [default_bkp]
. However, I got this error
The curious thing is that when I first read the [default]configuration
and then write to [default_bkp]configuration
- it works as expected!
#Get new configuration
configuration = self.view.custom.configuration
#Write into memory tag
paths = ['[default]configuration','[default_bkp]configuration']
system.tag.writeBlocking(paths[0], configuration)
#Write into remote tag provider
primary_config = system.tag.readBlocking(paths[0])[0].value
system.tag.writeBlocking(paths[1], primary_config)
I’ve also attached the Diagnostic Bundle.
Network Overview:
I’m working with Ignition 8.1.48 and a Gateway Network connection between both gateways. I’m trying to write from Primary
Cheers!