Symplify scripts adds native support for Python
Starting with Symplify 3.8, the script engine now supports native Python calls. This means operations that are currently not available in our script engine can be performed with the world’s most popular scripting language without any extra development. Complex string operations, advanced signal processing or any communication with web services or MRP can be added to your ATS at run-time without requiring the application to be recompiled.
Previously, any function not supported by the script engine had to be integrated directly into the LabVIEW code and interface with through Tags. This process was very simple and flexible during the initial development but we listened to our clients expressing that it was harder for their software engineer to quickly add measurements or publishing results with the evolution of the prototypes.
The way the new function work is simple, as can be seen in the example below. Any code between <Python> and </Python> is written to a new file on disk and passed as an argument to the Python interpreter (executable through command line.) Python can then read and write any Tags in the Symplify application.
The example below shows what the integration of Python into Symplify script engine look like: