🎉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

28335 code generation error message

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi,

Anyone can explain the reason of getting the following error codes? Thanks.

Error Message:
Element: DLL_EXT_ESB Name: MainCCode
ERROR: invalid lvalue of assignment operation
ERROR: syntax error before or at line 203 in file 'C:\Users\KITCHE~1\AppData\Local\Temp\PsimTmp\script_2.cxx'
==>: fSSCB1 = !fGblTI_PWM1;
BUG: fSSCB1 = !fGblTI_PWM1<== ???
ERROR: invalid rvalue of assignment operation
ERROR: syntax error before or at line 204 in file 'C:\Users\KITCHE~1\AppData\Local\Temp\PsimTmp\script_2.cxx'
==>: fSSCB1_1 = fGblTI_PWM1;
BUG: fSSCB1_1 = fGblTI_PWM1<== ???
ERROR: invalid rvalue of assignment operation
ERROR: syntax error before or at line 211 in file 'C:\Users\KITCHE~1\AppData\Local\Temp\PsimTmp\script_2.cxx'
==>:

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    can you post your simulation?

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    I am also getting something similar to this with F28335.

    Error Message:
    Element: DLL_EXT_ESB Name: MainCCode
    ERROR: missing ')' before '{'
    ERROR: no expression following (
    ERROR: invalid operands for less than operator <
    ERROR: syntax error before )
    ERROR: syntax error before or at line 224 in file 'C:\Powersim\PSIM_2021a_Softkey\PsimTmp\sD0601.cxx'
    ==>: fS3 = (fS3 < ({(-10000)})) ? ({(-10000)}) : ((fS3 > 10000.0) ? 10000.0 : fS3);
    BUG: fS3 = (fS3 < ({<== ???
    ERROR: missing ';' before ')'
    ERROR: syntax error before or at line 224 in file 'C:\Powersim\PSIM_2021a_Softkey\PsimTmp\sD0601.cxx'
    ==>: fS3 = (fS3 < ({(-10000)})) ? ({(-10000)}) : ((fS3 > 10000.0) ? 10000.0 : fS3);
    BUG: fS3 = (fS3 < ({(-10000)<== ???
    ERROR: syntax error
    ERROR: syntax error

    Let me know if I have to fix something in my simulation?

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi @chandus127,

    Thanks for your questions!

    Can you send us or attach your schematic? We will have a look.

    Regards,
    Amit

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User


    Please find the attached!

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi Amit,

    I couldn't see any error after replacing digital PI controllers with TI DMC PI controllers.
    _
    Chandra Sekhar

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Ok, @chandus127. Thanks for letting me know!

    Regards,
    Amit