Output of variable in module

Status
Not open for further replies.

ysh

Newbie
Joined
May 16, 2022
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
32
Hello,

I found some problem while building the module, and I can't understand it.
So I post the error on this forum.
dir value is not only defined as an integer in the module code, but also entered as an integer.
However, in the output file, it has a value in between.
This problem is solved when i change the code from V(e,b) <+ 0.001*dir; to V(e,b) <+ dir;

Can you point me to why this is happening?

Thank you.
 

Attachments

  • module code.PNG
    17.6 KB · Views: 81
  • circuit code.PNG
    11.6 KB · Views: 80
  • output.PNG
    15.8 KB · Views: 77

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…