About PSIM F28335 code generator

Adam Wu
Adam Wu New Altair Community Member
edited September 2023 in Community Q&A

Hi everyone,

I have encountered some issues with the code generator for F28335 when simulating the circuit. The error message is as follows:

Error Message:
Element: DLL_EXT_ESB        Name: MainCCode
ERROR: maybe missing ';' before '*'
ERROR: syntax error before or at line 135 in file 'C:\Altair\PSIM_2022.1\PsimTmp\sE3501.cxx'
  ==>:     DefaultType    fADC1_8, fVdc*, fZOH1, fADC1_1, fADC1_9;
  BUG:     DefaultType    fADC1_8, fVdc*<== ???
ERROR: variable 'fZOH1' not defined
ERROR: syntax error before or at line 135 in file 'C:\Altair\PSIM_2022.1\PsimTmp\sE3501.cxx'
  ==>:     DefaultType    fADC1_8, fVdc*, fZOH1, fADC1_1, fADC1_9;
  BUG:     DefaultType    fADC1_8, fVdc*, fZOH1<== ???
ERROR: variable 'fADC1_1' not defined
ERROR: syntax error before or at line 135 in file 'C:\Altair\PSIM_2022.1\PsimTmp\sE3501.cxx'
  ==>:     DefaultType    fADC1_8, fVdc*, fZOH1, fADC1_1, fADC1

 

My PSIM version is PSIM professional 2022.1.0.8.

Thank you very much for taking the time to respond.

Answers

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited September 2023

    Hi, Adam,

    Are you running simulation of one of the PSIM examples? Which one? 
    Have you built your own PSIM schematic? Please attach it here or create a support request.

  • Adam Wu
    Adam Wu New Altair Community Member
    edited September 2023

    Hello, everyone.

    I just accidentally discovered that one of my command voltage sources, called Vdc*, was working fine before I added the 28335 module. However, once I added it, the error message above appeared.

    I'm sharing this error message with all of you, and I hope everything goes well! Thank you for responding, Rhonda."