Jump to content

VI to display a zoomed-in portion of a graph?


davidd31415

Recommended Posts

Has anyone seen a VI online which would display a portion of a graph in a second graph window?

I'm thinking of oscilloscopes which allow users to place two cursors and then view the data which is between them in a "zoomed-in" view. The ability to then easily move the two cursors simultaneously is then very useful.

I first used a feature like this on a Yokogawa ScopeCorder DL750 (they call it "GigaZoom") and I believe most new oscilloscopes offer something similar.

I think I can quickly make something crude but I'd like to have a nice, smooth interface...

If one isn't available and I do make one, is there a repository online where VIs are uploaded, commented on, and improved?

Thanks,

David

Link to comment

I don't have any code, but if you look at Signal Express there is an example of something you could accomplish with LabVIEW code. Looks like its made up of two graphs. The bottom is the full data set, and the top shows the highlighted portion from the lower graph.

Good luck

Link to comment

One possible way it could be done is to work with the array the graph is displaying.

Take a subset of the original array and displaying this subset in a second graph.

By changing the subset offset and length you can "pan" along the original array and "zoom" in.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.