Hello,
I recently upgraded an Ignition 8.1 project to version 8.3.0 to evaluate the impact on functionality and identify any necessary changes. Overall, the migration process was straightforward and didn’t require much effort the documentation was clear and helpful.
That said, I’ve come across a couple of things I wanted to ask about:
First, regarding deprecated scripting functions: in the migration reference, it’s noted that system.db.runPrepQuery is deprecated in Vision with no replacement listed (what should I use now?), and that system.db.execSProcCall is replaced by system.db.storedProcedure.
However, I noticed that system.db.storedProcedure doesn’t show up in autocomplete, and system.db.execSProcCall isn’t marked as deprecated in the script editor.
Are these known inconsistencies, or is this something that still needs to be updated?
Here the warning symbol clearly states “deprecated function only for retro compability”
Second, I’ve run into performance issues with system.gui.transform (now system.vision.transform). While the function parameters appear unchanged and the animation logic still runs, the actual animation performance in the Vision Client is extremely poor, either very slow or not rendering properly. Interestingly, running the animation in the Designer preview shows noticeably better animation fluidity. I also tried running it with and without the async parameter, but it didn’t seem to impact performance.
The script used for the transformation:
def action():
component = event.source.parent.parent
system.vision.transform(
component,
component.location().x-50,
25,
duration=300,
acceleration=system.vision.ACCL_FAST_TO_SLOW
)
event.source.parent.parent.parent.doAction('edit')
system.util.invokeAsynchronous(action)
I’m wondering if these are known issues in 8.3, or if there’s something on my end that might be contributing to them.
Thanks in advance for any insights you can share.