I have many testjigs that import digitised datasheet characteristic
curves. An example of this would be:
.subckt IB_400u 1 2 3
4
R1 3 4 1G
B1 1 2 I=table(V(3,4)
.inc BC848B_Ic_Vce_400u.inc
+)
This is used with a G-source called IB_400u, which in this case is
the? Ic vs. Vce characteristic of a transistor, i.e.:
XG1 C 0 C 0 IB_400u
The file BC848B_Ic_Vce_400u.inc is a simple table:
+, 0, 0
+, 0.033713692946058194, 0.0037373737373737337
+, 0.07139456405596434, 0.007119195585620269
+, 0.09937242651150191, 0.01031229370884544
+, 0.11993258152246877, 0.014095645315621533
etc.
This has always worked since LTspiceIV.
With 24.1.4, it no longer works. Apparently, the new syntax
checker works line by line, therefore the line:
B1 1 2
I=table(V(3,4)
..will fail due to unbalanced parentheses. There seems to be no
workaround that I have yet been able to figure, as the .inc
directive must appear at the start of a line.
I have uploaded example schematic to illustrate this issue:
OP_Characteristic_rounding.
This issue seems to be related to the previously reported issue
with nested .STEP directives of the form:
.step param A? 0
10 1
+ param B list 1 2 5 10
..where the 2nd line is failing with 24.1.x. Example schematic
uploaded:
LTspice_24.1_Step_problem.
--
Regards,
Tony