develop

Extending DewesoftX with C++ Script

Learn how to use built-in C++ Script module to create custom DewesoftX math modules. Extend functionality directly using modern, intuitive C++ code.

4.7

(3 ratings)

0 participants

Updated July 2025

What You’ll Learn 💻

  • Understand what C++ Script is and how it enables you to write custom math modules within DewesoftX

  • Install and enable the DSMinGW compiler for C++ Script support in DewesoftX (SP6 and later)

  • Create your first C++ Script module: configure project metadata, inputs/outputs, and calculation modes

  • Write and deploy basic algorithms such as “latch math,” and learn how to test with synthetic inputs like sine and time signals

  • Choose between Sample-based vs. Block-based processing and tune block sizes for performance

  • Use the code editor, configure GUI in the Published Setup tab, and validate module operation via output channels

  • Import and export C++ Script bundles for sharing and reuse across setups

  • Learn when to extend Dewesoft with C++ Script vs. using formula modules or full plugins

Course overview

The Extending DewesoftX with C++ Script training course dives into how to seamlessly integrate custom C++ logic into DewesoftX as math modules. You’ll start with an introduction to C++ Script—Dewesoft’s scripting mechanism that allows writing modern C++ code to create custom data processing blocks without leaving the Dewesoft environment  . You’ll be guided through installing and enabling DSMinGW (available in DewesoftX from SP6 onward), preparing your development environment, and ensuring you’re ready to compile and run C++ Script modules .

Next, the course walks you through setting up your first script: creating a “Latch math” example. You’ll configure project details (name, version, description), define input and output channels, and choose the processing mode. Through interactive examples—like latching a value when a signal crosses a threshold—you’ll learn how to code in the built-in editor, publish GUI elements, and monitor runtime outputs.

In later sections, you’ll export your module as a reusable bundle, import it into new setups, and share it with others. The course also helps you decide when to use C++ Script versus simpler formula modules or more advanced C++ plugins—highlighting appropriate use cases and limitations.

By the end, you’ll be capable of designing, building, and deploying your own C++ Script modules—broadening the DewesoftX ecosystem with powerful, customized data processing components tailored to your unique analysis needs.

Page 1 of 19

Rate this course

Reviews

No reviews yet. Be the first to leave a review!