We have few custom modules in Ignition 7.9. We are working on migrating those to Ignition 8.1. In our modules we are using couple of tags related interfaces and classes such as,
I don’t see these classes/interfaces in Ignition 8.1. Could you please help me with guiding how we can migrate these to 8.1. Also could you please guide me with some documentations available (if any) related to the changes, so that I getter a better understanding about it as I’m pretty new to Ignition as well.
(I’m not an expert in either the old or the new tag system)
You will hopefully be able to switch to the new ManagedTagProvider concept; it’s a simpler scaffolding that helps with setting up the basic idea of “Java code that provides Ignition tags”.
I’d start from the SDK example and work from there:
As a general rule: Anything under the sqltags package is deprecated or outright removed.
Thanks for your reply @PGriffith and @Kevin.Herron. I have gone through the sdk-example shared above. Although some of my queries got resolved, there are still couple of them. So wanted to check if there are any documentation/release notes around how the functionalities provided in 7.9 could be achieved in 8.0/8.1 ?
Subscription related classes and interfaces are also missing in 8.1 which are present in 7.9 sdk
Can anyone help me finding the alternatives/ upgraded classes for below.
I will look more into OpcSubscription, OpcSubscriptionModel, OpcSubscriptionModel.ModelChangeListener to achieve same functionality with above classes in v7.9
Hi @Kevin.Herron, we also have few use case around subscriptions.
We are using subscriptionModel.getSubscriptions(name) to get all the subscriptions on a given server name. Could you please suggest how we can achieve the same in Ignition 8.1?
We are using getRate() of Subscriptions, but in Ignition 8.1 I don’t see rate. Can you also provide some inputs here as in how we can get around this in Ignition 8.1.
It doesn’t look like there is equivalent functionality.
Instead, you’d have to register a ModelChangeListener via OpcSubscriptionModel::addModelChangeListener and keep track of subscriptions you are interested in yourself.
The PropertySet object that onSubscriptionCreated and onSubscriptionModified get called with will contain a value for the rate under the key “opcRate”, or alternatively you can use the static field OpcTagGroupProperties.OpcRateMS.
I don’t really see any way to get the OpcSubscription objects that don’t belong to you any more.
I have upgraded SROPCServer with OPCConnection as part of upgrade to v8. But I don’t see the verifyConnectionState method which is invoked by regardless of server state.
In v7.9, we override this method to verify connection state and re-connect if it is faulted. Do we have a similar method to override in v8.1 or should we write custom implementation to invoke that method at regular interval.
I want to simulate exact behavior in 8.1 and want to invoke VerifyConnection() at regular interval just like how it is being done in v7.9 SROPCServer related APIs. Could you please share some low level details on how it is being invoked in v7.9.
It’s just a periodic task that calls SROPCServer::verifyConnectionState every 5 seconds on all connections that aren’t disabled. There’s nothing more to it.