Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveformgraph: Resuming plot from left of chart

Hey Nick,

 

I see by the pic that you got the example to work properly with the changes you suggested. I understand what you are suggesting only from a high level since I am mostly an old school coder and concepts like classes and inheritance etc. are new to me. (You can't teach an old dog new tricks. Well, you can, you just have to be patient).

 

I tried the suggestions but I am not able to get the project to build.

 

Could you provide the example for me please.

 

Thanks,

 

Chris

0 Kudos
Message 11 of 13
(1,922 Views)

Hey Chris,

 

I have attached the modifications I made so that each 'old' plot would have its own DisappearingLineStyle object.  I also made the TransitionPoint property shared, so that it only needs to be updated once for all DisappearingLineStyle objects.  Let me know if I can be any more help!

 

NickB

National Instruments 

Message 12 of 13
(1,911 Views)

Hi Nickb,

 

Once again thanks for you input and assistance with this issue. We managed to get our application working the way we wanted it to work with some adjustments to your suggestions.

 

I would like to mention for the benefit of other readers that upon further exploration I discovered that the 'plotdatachanged' event is triggered by other functions which are used inside the event handler in this example leading to a recursive scenario. For instance the 'ClearData' method triggers the firing of the 'plotdatachanged' event.

 

Depending on the functionality of you application it may be best to take the code inside this event handler to another area of the application and do away with the event handler all together.

 

Chris

0 Kudos
Message 13 of 13
(1,884 Views)