![]() ![]() If you do not use the file “msvc_dll.c” but your own C code, please pay attention to the Which is in the directory “E\Test\msvc_dll.c”. From the "Project" menu, go to "Add to Project"/"Files.", and select "msvc_dll.c" When asked "What kind of DLL would you like to create?", selectħ. Make sure that "Create new workspace" is selected, andĦ. Win32 Dynamic-Link Library", and set "Project name" as "rms_calculation", and copy the C code “msvc_dll.c” in the same directory (“E\Test\msvc_dll.c”)ĥ. Save the file in another directory, for example : “E\Test\dll-rms.sch”Ĥ. Open the file “dll-rms.sch” given with your PSIM versionģ. Hereafter are the different steps to use DLL Block :Ģ. Given with your PSIM version, with the name “msvc_dll.c”. The example circuit is the following (this example can be run with the demo version) :įor this tutorial you need a C code that calculates the RMS value of an entry. The objective of this tutorial is to help you use DLL Blocks to link C/C++ code with PSIM. PSIM SIMULATION SOFTWARE TUTORIAL How to use ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |