Creating and importing blocks to Embed

1.    Follow the directions in the Twin Activate documentation or PSIM documentation to generate a DLL and automatically export it as a block to Embed’s  Imported Blocks menu.

2.    Start Embed.

The newly-generated PSIM or Twin Activate block appears in the Imported Blocks menu, and the corresponding DLL is listed in the Edit > Preferences > Addons window.

Imported blocks can be used in a block diagram like any other Embed block. They are particularly useful for PIL and HIL testing. Note, however, that Embed Pro or Embed Personal is required to perform PIL and HIL testing. For more information, see Help > Contents: Embedded Target Support > Generating DLLs >  Importing DLLs from PSIM and Twin Activate.