I have been getting this strange error. Has anyone else experienced this kind of error beforein LTspice?
\$\begingroup\$
\$\endgroup\$
2
-
\$\begingroup\$ the error is not an error, but a warning, and it says specifically what's not right. \$\endgroup\$Marcus Müller– Marcus Müller2021-04-27 11:07:04 +00:00Commented Apr 27, 2021 at 11:07
-
\$\begingroup\$ Error on line 6. \$\endgroup\$IamDp– IamDp2021-04-27 11:09:11 +00:00Commented Apr 27, 2021 at 11:09
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
This is a common error among beginners. First open up documentation, it will help you a lot:
F1 LTspice > Circuit Elements > B. ...*,
Then replace the voltage source with a behavioural voltage source with an appropriate expression.
The main issue is the if() that you're showing in your picture is ill formed.
