🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

About PSIM F28335 code generator

User: "Adam Wu"
Altair Community Member
Updated by Adam Wu

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.

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Rhonda_20369"
    New Altair Community Member
    Updated by Rhonda_20369

    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.

    User: "Adam Wu"
    Altair Community Member
    OP
    Updated by Adam Wu

    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."