🎉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

Using the delay function in the c block

Hello

I used delay function in c block

 

But there is no change in the answer output

And by the way, the code composer software gets an error from this function

 

What should I do to fix this error?

Or what should I do to delay the c block. 

image

Find more posts tagged with

Sort by:
1 - 1 of 11

    Dear User,

    The "C block" and the "Simplified C block" in PSIM support a specified list of functions. You can find this list by navigating to the "Help" option of the "C block":

    image

    image

     

    The delay function is not a part of that list and won't work the way you want it in the simulation. What you can do is add a "Unit Delay" block at the output of the "C block" if a certain condition is met. This can add the delay to the output signal.