LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Smaller overview of the waveform graph

Solved!
Go to solution

Hello

 

I need a smaller overview of the actual waveform graph just to know the exact position where I am, when I zoom in and out of the graph for measurement purpose with a position cursor. Could anyone please help me how to do this. Thankyou in advance

 

Regards

Pratheek

 

 

0 Kudos
Message 1 of 10
(3,203 Views)

I would use the range properties of the zooming graph to set the position of the cursor in the overview graph.

Snipet:

track zoomed graph using cursor.png

 

Screenshot:

track zoomed graph using cursor 2.png

 

Could you send the data file, which is imported, please, if you need more help?

Message 2 of 10
(3,169 Views)

The actual mechanism can be different, depending upon exactly how you want to do it, but the basic idea is as follows:

  1. Create a new graph below your primary graph. This is your overview graph.
  2. Use scale range change events on the primary graph to trigger redraws of your overview graph
  3. Use three traces (with timestamps) on the overview graph to show the before, selected, and after portions of your waveform in different colors. Scale the number of traces as needed if you get both X and Y selection.

Much of this is shown in the demo code for Generate and Display in Managing Large Data Sets in LabVIEW. This is the technique used by SignalExpress.

 

Take a look at the demo code and let us know if you need more help.

 

0 Kudos
Message 3 of 10
(3,165 Views)

Hi ghighuphu

 

Thanks for the reply. I tried this method but its not working. Coming to the data file, Actually I'm working on a TDR oscilloscope. I need to compare the graph between a failure device  with a good device. I dont have any actual waveforms from the oscilloscope so i'm just trying with sine and triangle wave and later on i'll replace the "simulate signal" block with the instrument driver. i'm fairly new to labview. could you please help. 

 

Regards

pratheek

0 Kudos
Message 4 of 10
(3,123 Views)

Hi 

 

When I'm trying to use  scale range change events for the waveform graph i'm not able to move the cursors at all. Could you please tell me how to do it. Thanks you in advance

 

Best Regards

Pratheek

0 Kudos
Message 5 of 10
(3,117 Views)

It is working for me, see and run the attachment.

 

Your only WHILE loop waits for an event, so, to zoom and move the cursor (during that wait time), you have to build the zooming code in a separate parallel WHILE loop.

0 Kudos
Message 6 of 10
(3,112 Views)

Could you please save it to Labview 10 and post it again

0 Kudos
Message 7 of 10
(3,106 Views)
Solution
Accepted by topic author pratheek

@pratheek wrote:

Could you please save it to Labview 10 and post it again


Sure, here you go.

Message 8 of 10
(3,101 Views)

Thanks alot........ It works exactly how i need

 

Regards

pratheek

0 Kudos
Message 9 of 10
(3,099 Views)

You are heartily welcome!

0 Kudos
Message 10 of 10
(3,094 Views)