Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Regression from 8.5 to 8.6 using a waveformgraph without plots

Solved!
Go to solution

I have a regression bug when updating my code from Measurement Studio 8.5 to 8.6.1.

 

Reproduction:

1. Create a new Windows Forms application

2. Add a WaveformGraph to the Form

3. Add a Cursor to the graph

4. Specify Cursor property X Position = 0

5. Get rid of the automatically inserted Plot by manually remove the field and all references to it using the code editor.

6. Start the project

 

With 8.5, it works.

However, with 8.6.1, a null reference exception will occur in the EndInit method of the cursor.

 

As you may notice, a waveform graph without any plots is created. Though this is not achievable by working with the designer alone, it is a requirement in my project and it worked out quite good for a long time.

 

Omitting step 4 also resolves the problem.

 

I would very like to see this problem fixed in some future version of Measurement Studio.

Message Edited by Marrocco on 08-27-2009 05:29 AM
Christian
0 Kudos
Message 1 of 3
(3,863 Views)
Solution
Accepted by topic author Marrocco

Hi Christian,

 

I could reproduce this here.

I will forward it to R&D

Regards
DianaS
Message 2 of 3
(3,820 Views)

They fixed it in the 2010 version. Thanks a lot!

Christian
0 Kudos
Message 3 of 3
(3,199 Views)