Waveform Graphs in Seperate Window

Hey all,
So, I have waveform data displayed in waveform charts on my labview front panel, but my boss said that he thought it would be cool if we could have each one in a seperate window, with the capability it play around with it a little.  I can do this in Excel after the measurement period is over, but I was wondering if there is anyway to do this during the measurement period.  We have measurement periods of about a day, so it would be good to see a longer term trend while the measuring period is still in progress.
Thank you.

This sort of functionality is relatively easy to implement in LabVIEW.  If you happen to have NI-SCOPE installed, check out the file import dialog of the NI-SCOPE Soft Front Panel (written in LabVIEW).  It does almost exactly what you are describing, using the file for a data source.  For some examples of data architectures to allow you to do this, check out the memory store and browse examples in Managing Large Data Sets in LabVIEW.  Either of the architectures work just as well for a separate window as they do for the main front panel.
If you need more help, let us know.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • How do I change the data used by a Waveform graph dependent upon which tab window is active?

    Hi,
    First I want to say thank you in advanced!!  Let me describe the situation a little bit.  My front panel VI (see attachment) has a tab control and on each tab window I have an intensity chart with a free-drag cursor.  Below the tab control window I am trying to display either the row or the column of data where the cursor is located, I can do this for each intensity chart individually.  I am trying to clean the block diagram up a little bit and instead of using 4 Waveform Graphs, I want to use only one, can the data that is displayed in the wave form graph is associated with which page is active on the Tab Control.  Can this be done?  And how can I do it?
    Thank you again,
    ~Daniel DeWitte
    Solved!
    Go to Solution.
    Attachments:
    Changing Waveform graph data.JPG ‏123 KB

    Simply wire the tab terminal to a case structure that switches the data going to the graph terminal
    (sorry,posting by phone, cannot look at your code...)
    LabVIEW Champion . Do more with less code and in less time .

  • Code needed for "putting waveform graphs and 8bit images in the same window by Windraw"

    Hi Micheal, please sent the code example for my question:"putting waveform graphs and 8bit images in the same window by Windraw" , thanks.

    You can start from here ...
    Hope that helps,
    Michael
    Attachments:
    tester.vi ‏97 KB

  • Putting waveform graphs and 8bit images in the same window by Windraw

    How to put waveform graphs and 8bit images in the same window by Windraw VI?

    Use "Invoke Method: Get Image" to get a pic of your waveform graph/chart. Then combine this pic with your 8bit image using the IMAQ tools (IMAQ ImagetoImage). If you need an example send an e-mail again ...
    Michael

  • Unexpected Windows cursor/Waveform Graph cursor behavior

    Hi,
    I got a very strange Windows cursor behavior with waveform graph. Simplified VI is attached.
    LabVIEW 2014 SP1
    The problem is:
    The VI contains only one waveform graph.
    1. I start the VI. Cursor Movement Tool is selected in the Graph Palette by default. Corresponding “Cross with dot” Windows cursor appears when mouse is moved over the plot area (see image). So far so good.
    2. I select Zoom in the Graph Palette and use it two-five times (second image).
    3. I select Cursor Movement Tool in the Graph Palette again but Windows cursor does not change as it should. It is an open cross now (third image); i.e. the same as shall appear when cross of Graph Cursor Lines is reached.
    4. I click mouse three-seven times anywhere in the plot area and the cursor becomes normal (as in the first image).
    The problem is not only in shape of the Windows cursor. The whole Graph cursor functionality does not work properly if the Windows cursor has the wrong shape.
    Please advise what could cause this problem.

    It seems, i cannot explain the question in good way
    It is not about my data or zooming. It is about strange bahaviour of the Graph. The following sequence of steps illustrates the problem and shows that the zooming is not the issue (or, at least, not the main issue):
    I do the following:
    1. Start the VI.
    2. Select first Graph cursor in Corsor palette and use pop-up menu "Bring to Center".
    3. Zoom couple of times (not too much) keeping the Grapg cursor visible.
    4. Select Cursor Movement Tool in the Graph Palette.
    5. "Open cross" Windows cursor appears from the beginning. I cannot pick up the Graph cursor.
    6. Click left button of the mouse several times in any poin of the graph area.
    7. Windows cursor is changed to the normal "cross with central point".
    8 Now I can pick up the Graph cursor.
    I would suspect problems with zoom until p.5. However p.6-8 are done without any change of the zoom.
    By the way, I found more:
    If I try to move the Graph cursor after p.5, the whole graph moves and fires event "Scale Range Change". It must not happen with Cursor Movement Tool selected.
    I can guess only about some strange setting of the graph. May be I am not aware about them

  • How do I Get the value from a mouse click - on a waveform graph?

    If I have made a plot into a Waveform Graph and later want to do a zoom of my data
    (Not zoom into the Waveform Graph, but regenerate the data). How do I read the mouse
    coordinate if I click on the graph window. I know how to put up the horiz and vert
    cursors but don't know how to just read the mouse click. I would really like to
    follow the windows standard that identifys a rectangle by clicking and draging and then
    be able to read the corners of the rectangle. Thanks, Rick
    PS: Using Labview 6i

    I would recommend to 'translate' your graph in a picture and dislay it in a picture control (see picture examples in LV6).
    Once you did it, pictures have an extremely useful property called Mouse that returns the mouse coordinates and click events when you place the cursor on the picture.
    By this you can re-arrange the graph on picture appearance.
    There are also other methods such as using a Window's API that returns the mouse position referred to the whole screen window, but I believe this would be much more difficult to implement.
    Let me know if this was clear and if you need an example vi.
    Good luck,
    Alberto

  • Transition measurement vi cursors displayed in waveform graph are moving outside of scale

    Using a waveform graph to display pressure over time. I wanted to be able to calculate the fall time of the pressure over time so I'm using the Transition Measurement vi. I copied exactly what was in the example for transition measurement inside help and it is correctly determining the falling transition time but I am having a problem with the cursors on the waveform graph. I should be seeing a set of green vertical cursors marking out the fall start time and fall end time like in the picture I've attached (capture2) like in the example. The problem is they both always start at 3.43 (capture1) and after each sample period they increment by one (4.34, 5.34, 6.34) The come right out of the bundle from the transition measurement output as those numbers. The period of the signal I'm interested in is always less than 2 seconds, so I never see the vertical cursors.
    I've tried substituting my daq signal with a sine wave generator and it does the same thing.
    The block diagram is in the first capture
    also I would be interested in finding out exactly how the numbers wired to the active cursor property of the property node for a waveform graph relate back to the actual cursors on the graph. Are they just automatically numbered starting with 0 from the top-down?
    Wayland
    Solved!
    Go to Solution.
    Attachments:
    Capture.PNG ‏44 KB
    Capture1.PNG ‏7 KB
    Capture2.PNG ‏29 KB

    Hi Wayland,
    The reason the cursors are always apparent in the example VI for the Transition Measurement.vi, is because the signal being generated is always resetting. So, the signal resets to a 'new' signal for the cursors to go over and therefore always remain in the somewhat same location. The Waveform Graph is also configured in such a way that it will not move or continue to show new data coming in, the data cursors have moved onto. So in your case, you will want to right click the graph and make sure "Ignore Time Stamp" is not checked/selected. This will make it so the graph keeps up with your incoming data and the cursors. You can check this in the example file by removing the True Constant going to the waveform generator and changing the time stamp option previously mentioned.
    In order to view the available cursors and their numbered position, you can right click on the Waveform Graph and select properties. In the properties window there is a Cursors tab, inside this tab at the top is a drop down menu that lists all of available cursors, indexed starting with 0 at the top.
    -Jake B.

  • How plotting on a digital waveform graph the bit transition in function of the time

    Hi everyone,
    I am using LabView 6.1 on a Windows XP computer. I am to plot output bits sequences on a digital waveform graph just before sending the information to a board.
    So far I can see the transitions for my 16-bit port (16 plots) but the width of a pulse is always identical, no matter what times I enter. I wired my 1-D array timestamps to the property node Xscale.MarkerVals[] of my digital waveform graph... but it doesn't seem to affect my plotting...
    Thanks in advance for any help concerning this problem.
    Jonathan Sabah

    Well here is piece of my VI with the necessary sub VI.
    I also want to hide/unhide plots... I have found how to hide.. but cannot figure out how to unhide.
    Any help please ?
    Thanks again
    Jonathan
    Attachments:
    Exemple.vi ‏58 KB
    Setup_DIO64_for_Output_1.0.vi ‏111 KB

  • Problems with Waveform Graph

    When I add a Waveform Graph into the Front Panel, the Block Diagram Window shows it as DBL instead of the usual indicator for the Graph. How can I solve this problem?
    Attachments:
    Question.vi ‏9 KB

    I don't see what the problem is. The default waveform graph type is an array of doubles and that's what your diagram has. If you create a waveform data type and wire it to the indicator, it will change the graph's icon.

  • Multiple Plots In Seperate Windows

    Attached I have created a VI that launches as selected waveforms to multiple plots all on seperate windows. The way I have wrote it causes the windows to lose and gain focus as expected. Does anyone know how to stop the focus from constantly changing? Maybe even a smarter way todo this, or example of it? I was thinking maybe having LabVIEW access some windows APIs that would allow me to control focus. If that is even possible.
    Attachments:
    LaunchPlotProtoType.zip ‏297 KB

    I don't have time to figure out xeactly what you're doing, but here's some ideas from a previous project I did - maybe they'll fit:
    The project had one main window, and six sub-windows.
    The main window had a button for each sub-window, to call it up.
    Each sub window ran on its own, offering a different view on live data being taken by the main.
    Each window operated as expected - it stays in front if you click it - you move them around like any other windows.
    You couldn't click the CLOSE box, but each window had its own DONE button which closed it.
    Here's how it worked:
    1... A "Window Manager" vi was initialized (from the main) to generate six OCCURRENCEs and store them in a shift reg.
    2... A "Window Launcher" vi is started. It first calls the WINDOW MANAGER to obtain the OCCURRENCE refnums, then launches six parallel WHILE loops.
    3... Each WHILE loop has a WAIT ON OCCURRENCE function. It waits a specific time (500 mSec in my case).
    4... If the WAIT ON OCCURRENCE timed out, we simply check the state of a global PROGRAM RUNNING variable, and loop if it's true.
    5... If the WAIT ON OCCURRENCE did NOT time out, then it was triggered, and we call our particular sub-window (there's one WHILE loop for each window). The sub-windows are set to show front panel when opened, and close when done.
    6... Each sub-window monitors the PROGRAM RUNNING global and stops if that is false.
    7... Periodically, the six main buttons are fed to the "window manager"'s CHECK function. This checks each button, and if TRUE, calls "OPEN or MOVE to FRONT" VI with the path to the associated sub-window, and the occurrence for the associated window.
    8... The OPEN or MOVE to FRONT vi opens a reference to the associated VI, and checks the FP Open property to see if it's already open. If it's already open, the FP.IsFrontmost property is set TRUE to bring it to the front (one might click on the main button while this window is hidden - this will bring it forward).
    9... If the window is NOT already open, the associated occurrence is fired. The Window Launcher vi will then start it up.
    The windows do whatever work they need within themselves - it's not like the main is doing the plotting and sending data to the windows. It's more like the main is putting data into a common pot and whichever sub-windows are open (running) go and get it.
    Hope that helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • How can I make a waveform graph store the entire wave, not just the current time period and how can I save the actual graph?

    I am taking temp readings with a 4 channel DAQ, sending them to a waveform graph and exporting the data to excel, how do I manipulate the graph to take a continuous reading as opposed to losing the previous GUI and how can I save the entire graph?
    Using LabVIEW 2011 operating on Windows 7 professional. 

    That is the nature of the chart -- everything not in the history is lost (it is a FIFO buffer of length=1024 samples by default).
    The scroll bar is probably grayed out because you're show all of the data.
    Attached is a program that will add 5 random points to a graph and prompt you for a file location where to save a JPG snapshot of the graph.  It's not particularly good programming style, but it has all of the elements/concepts you're after. 
    Attachments:
    graph.vi ‏14 KB

  • Two signals at two waveform graphs

    Hello Everyone! 
    I got some problems with my software for data acquisition. 
    I got two signals and I have to show two signals at two different Waveform Graph. 
    How to seperate signals?
    Solved!
    Go to Solution.
    Attachments:
    separate.png ‏37 KB
    spearate.vi ‏23 KB

    I read DAQmx help and what I know is that Each row corresponds to a channel in the task. Each column corresponds to a sample from each channel.
    I really don't know how to wire Index Array... Can you explain it to me, please?
    Look at the attachment, is it ok?
    Attachments:
    explain.png ‏8 KB

  • Can a waveform graph's display parameters be changed in an exe from outside that exe?

    Hi all,
    I have a kind of strange Q to post here:
    I've got a quite stable test execution system still based on LV 7.11. Amoung others it has a waveform graph that shows curves for different test measurements. All be done in the exe, mostly via Refnums of that graph and property nodes in subVIs that (re-)configure the graph to show the respective signals, descriptions, scales etc. Worked fine for many months, if not years.
    This morning I got a call from production floor that they got strange displays. Turned out that some of the properties of that graph became misconfigured, Example: X-sxale is now at autoscaling and the x-scrollbar is invisible. So I got a black bar when displaying ~350 s of ECG data instead of ~5 s. This never happened before and happened similar on at least two (independent) machines. They only share a mySQL-database, some shared folders on the LAN to store results, a LAN-based printer and a common source for an ini-file for test configuration.
    They also had problems printing the test reports this morning.
    Is there any configuration outside of my exe (for LV runtime?) that could have coused this?
    Greetings from Germany!
    Uwe

    Coq Rouge wrote:
    Have the computers been updated with some new software? Like windows service packs, new virus scanner etc
    Hi Uwe,
    I have to side with Coq Rouge on this Q.
    It is possible to "reach-out and touch" if VI server is enabled on those machines but the possibility of malcious code finding the invokations required to pull that off.... unless you have a competitor that has you in their gun sights .... are remote.
    There have been a couple of posting here where people have noticed odd things happening with window focus etc. In my case it seems like Windows is clcikcing my mouse for me. I have only seen this on teh Windows XP machine that I allow to get updates.
    I believe the system logs should record signs of updates etc. The machines affected should be chcked.
    I admit the above is of little use, but maybe it can inspire you.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Publication Quality Image Files [.TIFFs] of Waveform Graphs or Waveform Charts?

    I'm familiar with the Knowledge Base Article 2PP7CM7Y, How Can I Save a Front Panel Control to a JPEG, PNG, or BMP File?
    My problem is that the resulting pictures are nowhere near publication quality [i.e. the kind of thing you could import into Acrobat for submission to an academic or technical journal]. For instance, I've attached a PNG of an Electrocardiogram [ECG], called "ecg.png", that, in all honesty, doesn't deserve to be posted on a website, much less imported into an Acrobat document. As far as I can tell, I'm using all the high
    est settings [24-bit color, no compression].
    Does Labview have any other utilities for saving to industry standard image formats, especially high-resolution TIFFs? I know the information is there, because when I print the VI's Front Panel to our 600dpi laser print, I get really beautiful, publication quality prints. My suspicion is that whoever wrote the "Invoke Node/Get Image" VI [and/or the various "Graphics Format/Write File" VIs] simply took a snapshot of the graphic card's [VERY low resolution] video buffer, rather than calling the underlying software logic that gets invoked when you print to a 600DPI laser printer. Is there any way I can get access to that underlying software logic?
    Thanks!
    Attachments:
    ecg.png ‏693 KB

    Okay, I installed the HP PostScript drivers, but, as far as I can tell, there is no option to 'Save to File.' [Such an option may be there somewhere, but I looked all over the place, and I couldn't find it...]
    Besides, the idea of saving to PostScript, and then running some program like 'ps2png' or 'ps2tiff' is not very appealing to me, for at least two reasons:
    1) It's very batch-file-ish in nature, i.e. I've got to download some monstrosity like Ghostscript, get it installed, get it configured [no trivial task in and of itself, believe you me], then write some batch-file-ish thingamabob to open the PostScript file and process it - I'd much prefer to [at the very worst] make a call straight to a DLL from within a Labview VI. But that's o
    nly the start of my woes; once I've got a PostScript file, I've got to figure out some way to cut just the picture of the Waveform Graph from the larger picture of the VI window - I suppose I could use some sort of a Clipping Path or an Encapsulated PostScript Bounding Box, but at this point we've clearly crossed over into the realm of what I would call 'hideously ugly, grotesquely inelegant, batch-file-ish hack.' Plus, my gut instinct is that it would take a bare minimum of a week or more to get such a thing up and running efficiently, when, if I could make a call straight to the Labview printing infrastructure, I could do it in just a few minutes.
    2) It's very, very difficult to venture into the realm of PostScript software [especially Ghostscript] and keep your project from becoming contaminated by the GPL, or worse [the Aladdin license agreement ain't exactly a stroll on the beach].

  • Display multiple Waveform-Graphs on a separate Frontpanel

    Hi there,
    I'm looking for a solution to display multiple waveform-graphs on a separate frontpanel.
    In my application I measure a number of channels (number is a user-input). The signals I want to display each in a separate waveform-graph, because they have different scales. They shall be arranged that way, that the user can switch them on and off or arranges them on the screen, while the application is running (measuring). He shall also be able to maximize all graphs or a graph window to have a closer look at the signals.
    I already tried several things.
    1. I placed the maximum number of graphs in a separate vi, which I start in my application and then switch the frontpanel on and off via a property-node. The values I also write via the references of the waveform-array, which I place in an array. This way I can also change the propertys of each plot (scale, xmin xmax, etc), but I always have all graphs on the screen (also the unused).
    2. I then tried to change the visible-property of the unused graphs, but I cannot scale and rearrange the remaining graphs to the full frontpanel-size, because this property is read-only.
    3. I placed just one waveform-graph in the vi and then start as many vis, as I need. This is cool, because I also can program the position and size of each frontpanel, so that they are arranged in a grid on the display, but all the graphs are separate and it is uncomfortable if the user had to arrange them separate. The windows need to be docked ore something like that.
    4. I tried to place the graph-vis in subpanels, but then I cannot change the position and size of the vis programmatically.
    Has anyone an idea, how to solve this?
    I am using LabView2009Sp1 Professional Development System
    Thanks Norman

    Thanks so far,
    I attached some examples of what I tried already.
    1. MaximumNumberOf Graphs - I show 6 graphs although only two are needed. I cannot rescale the used ones to the full screen size, because the property is read-only
    2. RescaledFrontpanel - I switch the unused graphs to invisible, resize the frontpanel to hide the unused graphs, but now the window is not zoomable
    3. GridOfWindows displays the desired grid of graphs in separate windows, but they don't stick together
    I hope this explains the situation better.
    Norman
    Attachments:
    multigraph.llb ‏136 KB

Maybe you are looking for