A program to recognize and reward our most engaged community members
I am trying to generate Embed code for a simple sub circuit, but i get this error. I'm only using logical blocks with 1 input and 1 output port. I googled the error but did not find any related article. I have never used this feature of PSIM so i dont know what to do.
Hi,
CodeGen feature should be included in the PSIM license for this. Do you have codegen feature in your license?
Thank you
Vishwanatha Siddhartha
Please follow below article to generate Embed code from PSIM.
Thank you,
Sir I have already read the tutorial before, the issue right now is that when I try to generate embed code from the sub-circuit attributes menu I get the above error #8000. Please check the images I attached above.
Could you let me know which circuit you are working on? If possible, please share a complete image of it.
Sure, its a simple boost PFC circuit.
This is the sub-circuit -
When i tap the generate embed code from the sub-circuit attribute dialog box, CMD opens up after few seconds it closes and throws the error "Error #8000 : Wrong Expression %s".
When I check the project folder i can see generated C code folder with this contents
This is the contents inside the prject_name ( C code ) folder
My student license don't have code gen, I am using one of my senior license for this project. Have you ever encountered #8000 error during embed code generation? Its strange even though it throws error i can see the generated dll. I can even import it into EMBED. Is this just a bug ? Also does the generated DLL get converted to fixed point automatically?
I tried the same way and was successfully able to generate code. Maybe it’s a license problem.
Thankyou