Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Highlight Selected area on WaveFormGraph in Measurement Studio

Hello,

 

 

I want to highlight the selected area of a WaveFormGraph.  Looking at examples, it appears that using annotations is the way to do?  Does anyone have an example?

 

The concept would be to Click on point a, drag mouse to point b and release.  Then that are of WaveformGraph would be highlighted.

 

 

Thanks

 

 

PS: Using VS2012 .net winform app.

0 Kudos
Message 1 of 2
(5,240 Views)

Hey Epiphone,

 

I ended up finding an example.  Try checking this out and see if this helps.  http://zone.ni.com/devzone/cda/epd/p/id/5046

 

The idea would be that you register mouse clicks on the graph itself and pragmatically change the annotation.  Another idea that you could try is have two cursers, and whenever the cursor moves, the annotation moves with it.

Jesse S.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(5,230 Views)