Profinity V2 IS NOW IN EARLY ADOPTER RELEASE
Profinity V2 is available now in Early Adopter Release. To support this release we are making the product available to our Early Adopter Community. If you have any issues or feedback please report it via our support portal or via the Feedback form in the Profinity Admin menu.
Profinity Scripting
Welcome to the Profinity Scripting documentation. This section provides comprehensive information about scripting in Profinity, including supported languages, script types, and available operations.
If you're new to Profinity scripting, here is a few things to know before you get started.
Important Read This First
Profinity Scripts Execute With the Same Security Permissions as Profinity Itself
Because Profinity Scripting runs inside the Profinity engine, any script will execute at the same level of Operating System security permissions as Profinity itself. Because of this it is important to make sure that you understand what scripts are running on your system and what they do.
In order to ensure your Profinity environment remains secure, we require explicit enabling of the Scripting capabilities inside Profinity before they can be used.
To enable Profinity Scripting, go to the System Configuration and enabling Scripting.
Script Types
Profinity supports three types of scripts, each designed for specific use cases:
- Run Scripts: For manual or scheduled operations
- Receive Scripts: For handling incoming CAN messages
- Service Scripts: For continuous, long-running operations
Learn more about script types in our Script Types documentation.
Supported Languages
Profinity scripting supports three programming languages, you can code in any of these supported languages:
- C#: For complex, type-safe operations
- JavaScript: For quick scripting and prototyping
- Python: For data processing and analysis
Each language has its strengths and ideal use cases. See the Supported Languages documentation for detailed comparisons.
Operations
Profinity provides various out of the box operations to support your script development:
- CANBus: For CAN communication
- DBC: For DBC Message and Signal handling
- State: For data persistence
- Console: For output and logging
You can find out more about each in our Operations documentation.
Next Steps
- Review the Supported Languages guide to help select the right language for you
- Learn about Script Types to determine what script style might be most suitable
- Explore the available Operations and things you can do with Scripts
- Try creating your first script