Cannot read saved .tim files with blank states

24 views
Skip to first unread message

Ashley Sutcliffe

unread,
Oct 27, 2011, 10:46:27 AM10/27/11
to timinga...@googlegroups.com
Hi there,

Just started using this for producing some timing diagrams for some documentation. It produces beautiful PDF diagrams: just what I was after following a long search.

I have found a bug with blank states on buses. You can add them in the GUI, which is great (I want some blank states to indicate that the data doesn't matter), but if you save and reload, the file is not loaded correctly.

A blank Start_State or blank State in an Edge in a saved .tim file will raise the following exception:

Exception in thread "AWT-EventQueue-0" java.util.NoSuchElementException
        at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
        at org.dmad.ta.TimFileIO.parseString1(Unknown Source)
        at org.dmad.ta.TimFileIO.readDigitalBus(Unknown Source)
        at org.dmad.ta.TimFileIO.processFileRequest(Unknown Source)
        at org.dmad.ta.TimFileIO.<init>(Unknown Source)
        at org.dmad.ta.TimingDiagram.openFile(Unknown Source)

The rest of the timing file will then not be loaded.

Here is a complete example:

Timing Analyzer Settings 
     TA_Version:        0.957
     Time_Scale:        1.0E-9
     Time_Per_Division: 34.0
     Number_Divisions:   8
     Start_Time:        0.0
     End_Time:          1120.0
Digital_Bus
     Position:          4
     Name:              data[8:0]
     Start_State:       
     State_Format:      Text
     Number_Edges:      2
     Rise_Time:         2.0
     Fall_Time:         2.0
          Edge
              Min:             30.001000
              Max:             30.001000
              State:            d0
          Edge_End
          Edge
              Min:             50.000999
              Max:             50.000999
              State:            
          Edge_End
Digital_Bus_End

Dan Fabrizio

unread,
Oct 27, 2011, 10:53:01 AM10/27/11
to timinga...@googlegroups.com
Hello Ashley,

I will fix this and let you know when the new version is ready.  Maybe this weekend.

Thanks for your feedback,
Dan
--
Dan Fabrizio
The TimingAnalyzer
www.timing-diagrams.com


Ashley Sutcliffe

unread,
Oct 27, 2011, 11:42:02 AM10/27/11
to timinga...@googlegroups.com
Thanks.

Ashley

Dan Fabrizio

unread,
Nov 5, 2011, 7:04:43 PM11/5/11
to timinga...@googlegroups.com
Hi Ashley,

Sorry I haven't been able to start working on the next version.  I have been working OT and don't have much extra time to work on the program right now.    

It will get fixed in the next version.  I'm just not sure when that will be.  If its holding you up from getting some work done,  let me know.

Thanks, Dan
  

On Thu, Oct 27, 2011 at 11:42 AM, Ashley Sutcliffe <a...@maketeanotwar.com> wrote:
Thanks.

Ashley
Reply all
Reply to author
Forward
0 new messages