DLL Block error : File not found *.dll...
When the inverter circuit using the DLL block is simulated, an error occurs with the message below.
"File not found."
<File Name>.dll
There seems to be no problem with the file name or path setting.
There is no problem in PSIM legacy version, 9.14, But latest version 2023 had a problem.
Visual Studio was installed in the same version, but an error occurred.
I want to know what the cause is.
Best Answer
-
To use 32bit DLL in a 64bit PSIM version (PSIM2020 and newer), please use a "General DLL Block".
If you have copied the old PSIM schematic from a different location,
1. Make sure the DLL file is copied to the new computer.
2. Open the DLL block parameter dialog to make sure the DLL filename and path are correct. The old path could still be in the parameter dialog.
3. In the parameter dialog, check the box "Load DLL in an external process (slower simulation".
Sincerely,
Rhonda
1
Answers
-
PSIM 9.14 is likely 32-bit, and PSIM 2023 is 64-bit. You will likely need to recompile the .dll to be 64-bit compatible.
1 -
To use 32bit DLL in a 64bit PSIM version (PSIM2020 and newer), please use a "General DLL Block".
If you have copied the old PSIM schematic from a different location,
1. Make sure the DLL file is copied to the new computer.
2. Open the DLL block parameter dialog to make sure the DLL filename and path are correct. The old path could still be in the parameter dialog.
3. In the parameter dialog, check the box "Load DLL in an external process (slower simulation".
Sincerely,
Rhonda
1 -
Okay, I`ll check and try what you told me.
Best regards.
0