Remote Tag Provider Polling?

We have one gateway connected through AB factory talk and works decently fast. We are trying to do a read only remote tag provider on a different gateway and its working but its much slower. I was wondering if there was a way to set a scan class or polling rate for the remote tag provider only. Or other tips to improve performance beside changing scan class on the main gateway? Thanks!

Note: on the remote tag provider we don’t need constant updates/ fast speeds, the windows on the secondary are taking longer to load based on how many tag reads are on the window

Note2: we have this function that we are using that does some reads then spits out a string, its firing multiple times when it usually just called once. This only happens on the first call, then it works normally.

Depends on your definition of "slower". What is the rough times between updates? IIRC Remote Providers update at a minimum 1 sec interval, and I don't think there is a way to change that.

What is the secondary in this example?

Windows taking longer to load based on the number of tag references will always be the case.

I'm not sure why you mentioned this here as, other than potentially referencing tags, it doesn't really seem connected to what you are asking about.

Either way, will be difficult to help with that without seeing the actual script redacted or otherwise.

As for it firing multiple times on the first call, seems like you haven't filtered for initialChange.

What’s the ping time between the 2 gateways?

How many tags are on the local gateway?

What versions are each gateway?