Multiple plots and graphic waveform database programming

Hello people, in my example attached vi, I have three plots of difree and a conspiracy of"base" on my table of waveform.  I also ontrols to adjust the gain of these plots.

However, I also have controls on my front for each parcel of land that I can use to move the specific parcel to align with the field of"basic".  I placed orders on my front but really confused on how to code to get this behavior.  I would be grateful for any suggestion.

Thanks in advance.

Ines says:

If that's what you thought, you might want to expand more on your previous comment, as in "just add the controls with the values of Y.

You use the Add function to add your signal with your control.  That's how apply you an offset.

And what is your problem, right-click on the caption on your chart and select-> visibility checkbox trace the visible elements.  It's the easiest way to control what sites are actively presented.

Tags: NI Software

Similar Questions

  • help understand the digital and graphical waveforms

    Can someone explain to me how digital waveform working with NOR?

    I did a channel physical and wired to a DAQMx create channel then I have it connected to a NSamp of 1Chan ereading Wfm DAQMx and then wired it to a graph of digital waveforms.

    I put digital and graphical digital waveform playback in a loop.

    When I run it, it seems to me only to get 1 sample on the graph per loop iteration.

    The desired output is to add each digital sample as a function of delay which can connected and or scrolls in time to examine what is happening with the signals.

    Where is my mistake?

    My VI is attached.

    Any help would be greatly appreciated!

    Also another quick question, is there a 'comment' as a command / / c or ' in VB?  Thank you.

    Hi Henry,.

    Thanks for the post! It seems that you are having problems with the acquisition and the graphic representation of digital data using DAQmx and LabVIEW. You are right that the type of program you have returned a single sample every loop iteration, because you make an acquisition without buffer, timed by the software. This means that the program reads a sample for each channel, whenever the DAQmx reading VI is called, which will depend on the speed of the software will run. In addition, when you view this data, the chart will only display data acquired for this iteration of the loop (that is, in this case, a single sample).

    To accomplish what you want will take some extra work and overhead costs in the software, but you can essentially use a shift register and accumulate samples that your program runs. There is a practice done just VI to do this kind of thing with digital signals and is called DWDT Append Digital Signals.vi (this can be found in the palette of functions in respect of programming"Wfm Digital Waveform"). I created a small example which you should be able to run that does this. What actually happens is that the waveform is rewritten each time with new data added in addition to the data passed in. To be able to scroll back and view this data, I turned off automatic scale on the x axis (if it is enabled, it will constantly increase and tries to show all the data at the same time) and selected just a data window to display. In addition, I added a horizontal scroll bar to scroll through the review data.

    And to answer your question about the code comments in LabVIEW, this can be done with a clear Structure of the diagram. You will find this structure in your palette of functions in respect of programming' Structures. Using this structure, you can select a part of your block diagram to disable and switch to the active state of wire through the or add different features that will run. Hope this helps and good luck!

  • Envelope of a waveform's graph XY and graphic waveform need

    The other threads here and here, I got great support from David and Thomas. Thank you all.

    The envelope of the signal coming out as in the example of David is as a graph XY. But as in the example of Thomas, I need graphic waveform in this format, so that i can find some of the edge values rising and falling in the waveform. Kindly suggest me how to handle this conversion. Thank you.

    Mathan


  • Draw text on the graphic waveform Plot

    I need to understand how to draw text on a waveform graph during execution. This could be a text box, a picture of the text, a label and an additional plot with text... etc.

    Yes, I know a graph would be better than this, but need to use a graphic for my application.

    The graph is updated every second, and new data are added to the history of the ranking. (Which means that the chart bigger every second) So if I draw the text above or behind the table, I'll have to update their location every second. I'll have to use card to XY Coords in an event, (mousedown or mouseup) to place the text (or image of the text) in the field where the user clicked.

    Step 1 to resolve this problem is to find first class, learn how to draw or text on the plot of the graph area.

    Does anyone have ideas of how this could be accomplished, or some ideas of a sneaky work around to make this work?

    Example:

    Unfortunately, graphics (graphic and graphic waveform XY) have support Annotation and slider, exposed programmatically through properties, but the array of waveform is not.

    What you could do is to place an indicator of 2D image that corresponds to the size of the chart above.  Make the value of the image that you draw be transparent and just print the text with transparent backgrounds.  However, I do not know the considerations on the performance of it - many times user interface elements, overlap (portions of even transparent) can cause problems of performance due to forcing redesigns... then again maybe a graph is always be redrawn in any case.

  • Set the name of a Visible plot and color lines draw graphic legend of XY

    Hi all

    Updated 20 plots data on that and I'm initializing the XY graph with 20 plots.

    After update of data, I do draw 3 to invisible, now I need to trace the legend to organize such that he should have, plot 0, plot1, plot2, plot4, plot 5... plot19, in the legend of his plot and should not have Plot3.

    So while graphic print and consult the chart in pdf format, I can see field only for Visible names draw in the legend of the plot and can avoid the confusion of having plot3 in my graphic impression. (Given that this parcel is invisible and data used pot in chart 3 and so I do not have this as my as well catalogue)

    Is there are ways of achieving them, please send your suggestions.

    Thank you

    Stéphane

    You can set the colors of the plot, point style, etc. by program like I did with the name of the parcel. The colors are just an extension of the notion that I have used with the array of names.

  • I use a database program in a number of previous versions of windows and windows 7 does not allow the program to launch denial of service.

    Application of program compatibility does not start

    I use a database program in a number of previous versions of windows and windows 7 does not allow the program to launch denial of service.  What gives?

    If you have Windows 7 64 bit without BACK program can run because there is no 16-bit subsystem to run it.

    Try dosbox http://www.dosbox.com/. If that won't work your program, you'll need either a new database or run the BACK or on a 32-bit version of Windows in a virtual machine like VirtualBox https://www.virtualbox.org/.

  • If I want to make a screen shared using video and graphics, programs Adobe would achieve this?

    If I want to make a screen shared using video and graphics, programs Adobe would achieve this?

    First Pro... Ask for details at http://forums.adobe.com/community/premiere/content

  • Graphic with several plots, a cursor jumps by programming of intrigue to tlot

    Hello

    I use MS 2013 with Vstudio 2010

    I have a graph with 3 plots, and a slider that at design time is attached to trace 0.

    I need to attach this cursor on plots of 1 or 2, according to the index of my choice.

    I guess that a solution would be to remove the existing gursor and re - create a new, attached to a different field.

    But can it be done using the existing slider?  I couldn't find a way to do it.

    I need something like:

    ' private void comboBoxCursor_SelectedIndexChanged (object sender, EventArgs e)
    {
    var selected_plot = comboBoxCursor.SelectedIndex;
    var cur_indx = waveformGraphScope.Cursors.IndexOf (xyCursorScope);
    waveformGraphScope.Cursors.?. Plot [selected_plot]
    }

    Thank you

    Igor

    In fact, it's simple:

    If "selected_ch" is a parcel number, then he focus cursor to a particular field:

    waveformGraph.Cursors [0]. Plot = waveformGraph.Plots [selected_ch];

    Igor

  • Graphical waveform Linestyle Bug?

    Hello

    I found that problems associated with the waveform diagrams and line styles in LV2016.  If I change the line style of a multiplot for long dotted graph, the plot is changed for long dashed, but if new values are added, they will appear as short rushed. If there are other long plots dashed, they are modified short wiped out too. It happens with all styles (modern, classic, silver).

    Everyone knows about these problems? Try again with the example below.

    Niklas

    The good news is that you are not crazy, LabVIEW 2016 's erratic behavior.  In an attempt to discover what had happened and who was responsible, I wrote a little routine to read and set the Styles of plot line for graphic signals 2 consecutive values from 0 to 4 with a variable delay (so I could put 0, 1, 2, 3, 4, or, say, 2, 3, 4, 0, 1).

    My initial code read the line Style, and then return.  I could tell by looking at the plot that something wasn't right, and if I ran it again, I could see what values were used.  For example, if I put 0, 1, 2, 3, 4, I had 0, 2, 2, 3, 4, while 1, 2, 3, 4, 0 gave me 2, 2, 3, 4, 0.  Since I did the reading before writing it, I needed to run the code twice to see what did the writing, so I changed the code to read, write, read, as shown below:

    (The error shown above, dotted line was 'dug' NiklasN While loop to ensure that ran first).

    Either incidentally, I added the delay time within the loop "just in case" LabVIEW need time to "adjust" the plots - I think it is probably indifferent...

    To my surprise, the line Styles after were exactly what I expected - with an offset of 0, 0, 1, 2, 3, 4.  However, if I immediately revived this code, the front line Styles (which should have been 0, 1, 2, 3, 4) were now 0, 2, 2, 3, 4, false!  Also, if you look at the plots when you run the program several times without change to the Offset, you see Plot 1 change the appearance (probably when my 'put' loop runs) and then switch again as the numbers start to come there.

    I just called Tech Support, made to this post, attached the code illustrating the problem (so they will have something to test), and I expect that they will confirm the Bug and drop off a CAR (report on the Corrective Action) to solve this problem.  Thank you, NiklasN, to describe this issue.

    Bob Schor

  • Graphical waveform reference conflict with table 2D?

    Hello world

    I have a problem (I hope so easy?) with the joint 2.vi Untiltted... I need to wire a reference (with the chart "MVC and Stim") to the Sub - VI X axis Curs table under so I get the x-axis positions the cursor over the chart MVC and Stim... When this chart is a 1 d array, it works fine (graph at the bottom should graphic data between the sliders)... But I change the MVC and graphic stem in a 2D array that draws multiple waveforms graph Ref do not connect to the Subvi?

    Any suggestions? I'm on a tight schedule, and it's killing me slowly...

    Kind regards

    Jack

    Hello

    I do not have chekced your screws I did not LabVIEW on my pc at the moment. I hope that the code is LV 2010 or below. If this isn't the case, please send the code in a version compatible with LV 2010.

    However, a few questions:

    What is your Ref entry selected to include the data type? You create the reference control once again inside your sub vi when you changed from 1 d in table 2D graphics?

    If Yes, suggest to the two qus, try removing the data type "include". This can cause problems in the future. Otherwise, you must re-create your sub vi entry ref control again.

    one way is, just transfer the reference on the front of the vi that has graphics for the sub vi, use application of the nodes to get the name of the control and the reference in the Panel, check your "MVC" and "Stim" among the control names, get the control reference. This will save you the dotted arrows.

  • Display problems with all types of terrain and graphic

    Hello

    I have display problems general with all types of chart, graph or plot that I try to use, on two different machines, both with NVIDIA graphics cards.  A machine is a MacBook under XP SP2 in bootcamp and the other a Dell T3400 workstation (or something similar) under XP SP3.

    I posted this thread earlier which Ben replies to the weird graphic behavior.  Ben suggested that I try to simplify my code as much as possible while keeping the bad behavior and by submitting to the NC and the forum, because it is others have had problems of graph.  I tried, but in vain.  Display problem continues and continues and continues and then they just go and I can't get back by unscrewing the last stage of reduction or simplification of code.  But at some point during the reconstruction of the code, which I cannot determine, returns the bad behavior.

    So, I was set up with graphics looking for shit, until recently, when I thought I'd try some suggestions of other messages to a XY-plot function as a graph by creating a buffer and using nodes of ownership of land for the range control.  Things seemed promising, until my "XY table" started getting shit, too.  This time, the issue was with the grid lines becomes all chopped, attached images.

    I am out of resources here.  I think I'm running out of options to display graphic data in an acceptable manner.  Do I have to display data by using an Excel chart in an ActiveX container in Labview?  I'm not skilled enough to do it again.  I like Labview, it is the only programming language that I am competent even remotely help, but it's just inferiorating.

    Any suggestions would be much appreciated.  Thanks for reading.

    -Greg

    Greg,

    is there a particular reason why you use the bar plots - view superior graphic style? Try activating the legend of the plot, go to the bar plots and select the first track of the Bar Style. Your chart is displayed very well after that.

    See you soon,.

    Cerati

  • Re: Satellite L - colors and graphics have disappeared

    Hello world

    I have a problem with my screen whose colors and the graphics disappeared. This is particularly evident in my email (gmail) and Facebook.

    Performing a recovery of HARD drive won't solve the problem? Will I lose my files and other programs if I perform HARD drive recovery?

    Thank you.
    Treszce13

    Hello

    > which the colors and graphics are gone
    How to understand this? Sorry, but I don't know what you mean it, especially if it happens on Gmail and Facebook.

    Can you post a photo or a screenshot of that?

    > Executing a HARD drive recovery will solve the problem? Will I lose my files and other programs if I perform HARD drive recovery?
    If it s just associated software problem HARD drive recovery will solve your problem, Yes. HARD drive recovery will remove the first partition, so if you have important data on the first partition you must make a backup before you start with the installation of HARD drive recovery.

  • graphical waveform shortcut menu problems

    Hello

    We discovered a problem about shortcut menus on maps of waveform with our current installation of LV2009f2.

    In the development environment ("IDE"), we have created a larger application. In the display section, we have several graphics (waveform), where the user can select the signal traced by the contextual menu (aka the context menu). When running the application in the IDE so good, the menus are displayed with all of the elements, we have defined.

    So we have finished the debugging (so we thought) and created an executable. Then, we tested the executable on the same computer (the computer with IDE installed full). Everything if fine, context menus are shown as expected.

    So, we got to the next step in the creation of an installation package (which resulted in a size of 0.99 GB btw...). LabVIEW makes no complaints and we have installed this app (using the Installer) on a clean computer. No problems so far, our application has started, everything was fine. But then we tried to change the display: NO POPUPS! Instead, we had error 1165 (problems with Insert on the Menu, "Can't find the menu"). What happens here? Anyone with a clue? Where is my menu (reference)?

    OK, we had a second computer. Install this package of 0.99 GB too. From the app: just fine, except the missing context menus!

    More information:

    All computers are Windows XP, Service Pack, even. Context menus don't require no RTM file, so no missing additional files in the installation package. Menu references created by LabVIEW (IDE or RuntimeEngine [RTE]) on right mouse click on the control, so that there should be no problem with the benchmark missing or false. The values supplied to generate the menu are the same for the IDE and RTE, so no difference. The graphics are incorporated into a secondary, but still only had events for them, so we no problem. New: the reference for the menu is provided by LabVIEW (event "Activating the context menu", MenuRef), so it should be valid...

    Sorry, no example. It is difficult to reproduce, when it only happens to RTÉ and only on computers, where no IDE is installed...

    Tomorrow we will fill to the top of the VI for creating menu with a lot of debug message subVIs to check everything and everything is going on in there...

    Hi Norbert and others.:

    I found a solution for my problem (after a long session to create exe, deployment to a different computer, debugging and start all over again...).

    In deployments executable the shortcut menu for the chart is missing (and is missing only here!). So I first test a menu empty on each activation of the menu and create a new menu if necessary. To do this, you will need to turn off (disable) "default DURATION of the context menus" during the VI containing the graphic.

    A note more:

    All other paid (menus VI other) are loaded correctly, all loaded screws work dynamically. It's only the RTM shortcut missing... (And the RTM file is set to 'always include' in the application Builder!)

  • Envy 15: HP ENVY sudden screeching audio and graphics lag spike

    So, for a few months now, when I'm playing Dota 2 or watching youtube videos, will lag all of a sudden my HP ENVY 15 and a shrill noise coming through my headphones. Essentially, it freezes and I have trouble getting the keyboard and mouse to react this way. After about a minute late shrill and intense, he slowly starts working again.

    I searched the Internet and found this thread archived on an ASUS laptop that had the same problem as mine.  http://Rog.ASUS.com/Forum/archive/index.php/t-14960.html?s=d5a890ce396bc7d95eb5990f9123650a

    In this thread, they seemed to think the network drivers or Mcafee has been the cause of the problem. I didn't ' have Mcafee and I updated my drivers for Realtek network card, and the problem has not disappeared. In this thread, someone posted a video on youtube showing the shift, and it's exactly the same thing is happening to me:

    https://www.YouTube.com/watch?v=VZdmM1qjLxk

    01:35-02:10, it is the noise right, I hear, accompanied by crazy stuttering on my computer.

    My product number is C8P47AV.  Someone at - it ideas?

    Hi @GeneralSu ,

    Thank you for visiting the Forums HP's Support and welcome. It's a great site for information and questions. I looked in your question about your laptop 15 HP ENVY TouchSmart and sudden screeching audio and graphics trolling. Here is a link to the computer hangs or freezes which may help.

    Any Virus protection program can cause the same issue. Try disabling it temporarily to see if that helps.

    You could try a refresh with Windows 8. Please read all the documents before you start. Will arrange your sound and trolling.

    Note Remove all USB devices. Disconnect all devices of non-essential, as these can cause some problems.

    Hope this helps, please let me know.

    Thank you.

  • Reading text file and graphic

    Hello everyone. I'm new to Labview and have started using it only a week ago. My advisor gave me a difficult project and I'm stuck. My goal is to recover data from a Keithley instrument by setting voltage and current measurement. I could find a driver to do, but now he wants me to take my measurements and make a different chart that is already in the driver. The graphic I get is for X vs Y that has tension on the horizontal axis and the vertical current. After I receive this information, it is then saved in a .txt file. Which wants me to my Advisor, is to take the values that are recorded and divide (V / I) which is equal to the resistance and then to draw resistance depending on the tension. Since I am very new to Labview, I have trouble reading the text file, strength design values and the tracing result. To add to my troubles, the computers I use have only up to Labview 7.0 Express. If anyone can help me please, it will be greatly appreciated because I would rather graphic using Labview values instead of using Microsoft Excel. Thank you.

    Sorry, misunderstood how you want to display the data. The first table seems to be the tension and the table that is the output of the divide is the resistance. Instead of build table and a graphic waveform, you'll want to use the bundle where the upper entrance is your x axis and the background is the y axis and sire of the output of the present in a XY Chart.

Maybe you are looking for

  • Opening firefox to a blank Web page and a 2nd

    I don't know how Open firefox on a blank page - I know also how to open firefox to multiple pages - BUT how can I open it firefox an empty page, including a 2nd page of my choice. It's for people who perfer not showing their home page at startup - in

  • Satellite 4070CDS and upgrade the BIOS.

    HelloI have an old Satellite 4070CDSS4070CDS/4.3 (Europe) PAS407EYV-DU95 My first question is, where I can see what version of BIOS is running?I tried all kinds of keys at the start, but all I get is the Toshiba logo, and then the operating system st

  • Adding a table Excel file using ActiveX

    Hello I want to add a figure that has been produced using data from data acquisition to a specific cell in my existing excel file (reversing a graphical indicator in jpg/bmp,... and put it in the excel file). But I can't find the specific method to d

  • Sansa m240 unrecognized files

    I recntly bought a new computer (Windows XP Pro, WMP 11). When I connect my Sansa m240 in MSC mode, tells me that there are no files on the device so much in my computer & Windows Media Player. However enter into properties of the device on my comput

  • Update Service in continuous mode to "update" or "search".

    I read posts on this particularly Sharief K in September 2013, but nothing is to solve my problem: (1) I am under Win7SP1 (2) I just reinstalled the o/s in case there was a problem of registry passed so I think that it is a vanilla installation (3) w