I downloaded that software, did you create that log file? If so, how?

It is likely that what is being stored in the log file is not a sequence of 
numbers in a vanilla format.  So parsing it as a sequence of strings is not 
going to work.

from their help:   

OK, that works for bitmaps, but can I get the data itself to an application 
> like Excel?
> There is an export utility(Waveform Menu: File=>Export) that allows data 
> to be exported to an ASCII file. There is also a 3rd party free utility 
> written by Helmut Sennewald. It is available from the independent users' 
> group http://groups.yahoo.com/group/LTspice. This utility allows various 
> forms of manipulation of the data including the ability to merge waveforms 
> from different simulation runs.



>
On Tuesday, October 25, 2016 at 3:08:23 AM UTC-4, Chris Stook wrote:
>
> The file (
> https://github.com/cstook/LTspice.jl/blob/LTspiceXVII_compat/test/test1.log) 
> is a .log file produced by LTspiceXVII (
> http://www.linear.com/designtools/software/).  I'm using regular 
> expressions to parse the file.  The code below shows the problem.
>
> io = open("test1.log","r")
> for line in readlines(io)
>   m = match(r".*",line)
>   print(line)
>   println(m)
> end
>
> Circuit: * C:\Users\Chris\.julia\v0.5\LTspice\test\test1.asc
> RegexMatch("C\0i\0r\0c\0u\0i\0t\0:\0 \0*\0 
> \0C\0:\0\\\0U\0s\0e\0r\0s\0\\\0C\0h\0r\0i\0s\0\\\0.\0j\0u\0l\0i\0a\0\\\0v\x000\0.\x005\0\\\0L\0T\0s\0p\0i\0c\0e\0\\\0t\0e\0s\0t\0\\\0t\0e\0s\0t\x001\0.\0a\0s\0c\0")
>
> RegexMatch("\0")
> Direct Newton iteration for .op point succeeded.
> RegexMatch("\0D\0i\0r\0e\0c\0t\0 \0N\0e\0w\0t\0o\0n\0 
> \0i\0t\0e\0r\0a\0t\0i\0o\0n\0 \0f\0o\0r\0 \0.\0o\0p\0 \0p\0o\0i\0n\0t\0 
> \0s\0u\0c\0c\0e\0e\0d\0e\0d\0.\0")
>
> RegexMatch("\0")
> current: i(r1)=2.5
> RegexMatch("\0c\0u\0r\0r\0e\0n\0t\0:\0 
> \0i\0(\0r\x001\0)\0=\x002\0.\x005\0")
>
> RegexMatch("\0")
>
> RegexMatch("\0")
> Date: Mon Oct 24 20:11:13 2016
> RegexMatch("\0D\0a\0t\0e\0:\0 \0M\0o\0n\0 \0O\0c\0t\0 \x002\x004\0 
> \x002\x000\0:\x001\x001\0:\x001\x003\0 \x002\x000\x001\x006\0")
> Total elapsed time: 0.024 seconds.
> RegexMatch("\0T\0o\0t\0a\0l\0 \0e\0l\0a\0p\0s\0e\0d\0 \0t\0i\0m\0e\0:\0 
> \x000\0.\x000\x002\x004\0 \0s\0e\0c\0o\0n\0d\0s\0.\0")
>
> RegexMatch("\0")
> tnom = 27
> RegexMatch("\0t\0n\0o\0m\0 \0=\0 \x002\x007\0")
> temp = 27
> RegexMatch("\0t\0e\0m\0p\0 \0=\0 \x002\x007\0")
> method = modified trap
> RegexMatch("\0m\0e\0t\0h\0o\0d\0 \0=\0 \0m\0o\0d\0i\0f\0i\0e\0d\0 
> \0t\0r\0a\0p\0")
> totiter = 2091
> RegexMatch("\0t\0o\0t\0i\0t\0e\0r\0 \0=\0 \x002\x000\09\x001\0")
> traniter = 2088
> RegexMatch("\0t\0r\0a\0n\0i\0t\0e\0r\0 \0=\0 \x002\x000\08\08\0")
> tranpoints = 1045
> RegexMatch("\0t\0r\0a\0n\0p\0o\0i\0n\0t\0s\0 \0=\0 \x001\x000\x004\x005\0")
> accept = 1045
> RegexMatch("\0a\0c\0c\0e\0p\0t\0 \0=\0 \x001\x000\x004\x005\0")
> rejected = 0
> RegexMatch("\0r\0e\0j\0e\0c\0t\0e\0d\0 \0=\0 \x000\0")
> matrix size = 2
> RegexMatch("\0m\0a\0t\0r\0i\0x\0 \0s\0i\0z\0e\0 \0=\0 \x002\0")
> fillins = 0
> RegexMatch("\0f\0i\0l\0l\0i\0n\0s\0 \0=\0 \x000\0")
> solver = Normal
> RegexMatch("\0s\0o\0l\0v\0e\0r\0 \0=\0 \0N\0o\0r\0m\0a\0l\0")
> Matrix Compiler1: off  [0.0]/0.0/0.0
> RegexMatch("\0M\0a\0t\0r\0i\0x\0 \0C\0o\0m\0p\0i\0l\0e\0r\x001\0:\0 
> \0o\0f\0f\0 \0 \0[\x000\0.\x000\0]\0/\x000\0.\x000\0/\x000\0.\x000\0")
> Matrix Compiler2: 96 bytes object code size  0.0/0.0/[0.0]
> RegexMatch("\0M\0a\0t\0r\0i\0x\0 \0C\0o\0m\0p\0i\0l\0e\0r\x002\0:\0 
> \09\x006\0 \0b\0y\0t\0e\0s\0 \0o\0b\0j\0e\0c\0t\0 \0c\0o\0d\0e\0 
> \0s\0i\0z\0e\0 \0 \x000\0.\x000\0/\x000\0.\x000\0/\0[\x000\0.\x000\0]\0")
>
> RegexMatch("\0")
>
> RegexMatch("\0")
> RegexMatch("\0")
>
>

Reply via email to