Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Noncontiguous date ranges - user painted XAxis values - possible?

Solved!
Go to solution

Nick -

 

Is the anomaly tracking ID  you provided something I can use to track the status of this behavior? Is the tracking system something I can access or is it internal?

 

Thanks.

 

Joe

0 Kudos
Message 11 of 16
(2,420 Views)

Joe,

 

We are currently working on getting a Known Issues document up on the website that will list all known issues and workarounds, listed by the ID I have provided. However, at the moment, the ID is only used internally, and for the list of bug fixes for each release.  Applications Engineering also has access to this internal information, and can provide more detailed status information upon inquiry.

 

Thanks!

 

NickB
National Instruments

0 Kudos
Message 12 of 16
(2,417 Views)
Just checking in to see when we might expect a fix. I've continued enhancing this sample and came across something else that seems to be related.
0 Kudos
Message 13 of 16
(2,312 Views)

Hey jsytniak,

I checked the status of this recorded bug and unfortunately all I know right now is that it has been scheduled to be fixed in a later release of Measurement Studio. Please feel free to check on this in the future and someone will keep you updated.

 

Lars

0 Kudos
Message 14 of 16
(2,293 Views)

Nick -

 

Not sure if I should have posted this as a new thread, but what I am about to ask does seem related...

 

... I need to format the Xaxis and Cursor LabelXFormats with a format for elapsed time. Where the first data point would be 000:00:00.000 (hhh:mm:ss.fff) and the data point at an hour in would be 001:00:00.00. It am not sure that I will be able to do this by overriding FormatDouble as this is really a string formatting issue and the format that I need really is not a valid format for date formatting. 

 

Any ideas?

 

Thanks.

 

Joe

Message Edited by jsytniak on 03-20-2009 02:02 PM
Message Edited by jsytniak on 03-20-2009 02:02 PM
0 Kudos
Message 15 of 16
(2,062 Views)

It turned out to be pretty simple.

 


 

    class TimeSpanFormatString : FormatString

    {

        public double Start;

 

        public TimeSpanFormatString(DateTime start) : base()

        {

            this.Start = ((double)DataConverter.Convert(start, typeof(double)));

        }

 

        public override string FormatDouble(double value)

        {

            DateTime dtmStart = ((DateTime)DataConverter.Convert(this.Start, typeof(DateTime)));

            DateTime dtmValue = ((DateTime)DataConverter.Convert(value, typeof(DateTime)));

 

            TimeSpan work = dtmValue - dtmStart;

            return string.Format("D{0} {1:000}:{2:00}:{3:00}", work.Days, work.Hours, work.Minutes, work.Seconds);

           

        }

    }

 

0 Kudos
Message 16 of 16
(2,043 Views)