plot area chart mixed signal displayed

I have a graph of mixed signals with 2 areas of land and am trying to optimize the flexibility with the screen space and look at a.  Sometimes I want to see the two draw areas in display at half the height of the graphical display of any mixture GIS and sometimes I need better display resolution that makes me want to make one of the plot areas fill the full graph of the display area and then simply scroll down to see the other.

What is the best way fo doing this if I want to press a button to easily switch between these 2 views?  Use display port size and properties limits or something else?  (The properties of ports and view limits are not well-defined dimensions of what I can find either)

Hello

You can do this by using a combination of several nodes of property.  You can use the PlotAreaSize property to manually set the size of the individual parcels (not the viewport).  Note that you need to use the ActPlotArea property to enable each parcel before resizing.  After you set the size of the plots, set the size of the window using the window-> size-> all the items property.

I advise to use a structure of the event to change the properties when you click the button to toggle between the two views.

Hope that helps.

Tags: NI Software

Similar Questions

  • Control chart and mixed signals tab crashed for LabView 2009

    I find a serious problem by using the chart of mixed signals with tab control. Two examples and detailed drscription are attached. In TestMix.vi there is mixed, graphics and additional code to display the data. Normal execution of the program. I add the tab control and move the graph mixed signal in Page 2 (see TestMix2.vi). After registration as TestMix2, close the vi and oppening is façade of LabView frozen after touching on page 2 of the tab control.

    Does anyone have the solution for this case?

    Best regards!

    In his stavljanjem digitalnog dijela na kraj grafa sam otkrio kao slucajnost, ali only Monte puku is tako I dolazi zaobilaznog rijesenja.

    Kada dobije informaciju od kolega bi bug mogao biti rijesen obavijestiti cu spomenuti kada go! Moze biti u Drugom.mp3 od nadolazecih patchova ili u sljedecoj verziji LabView eventualno - a.

    Srdacan pozdrav

    Franjo Tonkovic

  • How to dynamically add a plot to a graph of mixed signals

    I have a graph of mixed signals where I'm plotting a signal from a time axis. I'm trying to dynamically add a second plot to this graph against the same time axis (with a different scale of Y), but when I built a 2D array and try to connect in the graph (using a local variable) I get an error of size mismatch. I know for sure I did in the past (cable tables with different sizes for a same MSG) with no problems but, today, for some reason any I can't solve this problem.

    Am I missing something?

    Yes, you're probably writing a table 1 d somewhere that is causing to accept only 1 d. To address your problem above, just put a table node build in whenever you have a 1 d table and it will be just a 2D array with a single line of data.

    To add a field to your current locations, your screenshot above should work once the plot knows that he has to accept the 2D tables.

    Reading from a local variable, change something and then write about it once again can lead to a lot of issues down the line. Race conditions are a pain in the butt, so get rid of that sort of thing is good to do from the start. I didn't know the rest of your code, so I don't know how you treat it, but just keep in mind that you add to your software.

  • absolute time in the chart of mixed signals

    I am trying to build a chart of mixed signals with 4 inputs (Temp, Temp setpoint, % RH and set RH %).  I want the X axis to be absolute time, but do not know how to wire properly.  To search the help files and discussion forums, I think I should include a timestamp as a DBL.  So far, I have created 3 scenarios:

    • All of the lines of work but x 4 entered is relative.
    • Two main lines of work and entered x is absolute time (below)
    • Even with 4 inputs graphic breeze with an error that the number of entries in cluster does not match (away).  ???

    I seem to be missing something basic.  I would be very happy to anyone help... until the computer gets!

    PS LV8.5/WinXP Pro

    There seems to be a problem with the time of the x axis when you enter analog data tables and the waveform of digital data. Try the attached vi where you are piping the analog data as waveforms. Allows always to look at the data as it is collected over a period of time, which is what it seems you are trying to do. It also has a clear function. My example is rough; It would probably be best done with loops producer-consumer or one event loop to make it more effective. Let me know if this does not work.

  • graph of mixed signals of compensation with 2 areas of land

    I have a graph of mixed signals from zone 2 simple plot.  When I try to reset or clear the chart by writing a 0 to it dashboard, it bombards.  Anyone know what is wrong here?  Seems like it should be essential to the functioning of this object.

    It's seems to work for this case.  However, I had tried in the past and he had problems with some things too.  I even had the code still there to generate an array of the same size, but what makes all 0, but it was not connected to the entry of the chart in my code now.  Instead, the chart was hard wired to a constant with a single element to a value of 0 0.0.   We can call it a success so far.  Thank you

  • [graph] deleted plots are drawn to chart resizing

    I'm working on CVI2012SP1 and I m having trouble with the chart control.

    As the stripchart control to much trouble for me, I went with the chart control to display a mobile chart. It works much more painless than with the stripchart, but now I have another problem with drawing plots.

    I m deleting of all parcels and then adding the new. Then I call RefreshGraph() and the new route is drawn, but is also the former route (see the screenshot). If I resize the chart only the current path is drawn.

    Why is it so? Is this a bug? How can I work around it?

    Sorry, I Don t have a piece of code for the problem. The problem is that all the parcels of old, who then deleted by the DeleteGraphPlot function, always come when I select 'VAL_DELAYED_DRAW '.

    But I found a solution, I just select "VAL_IMMEDIATE_DRAW" for DeleteGraphPlot, and it works as expected.

  • Convert a chart 2D with various sizes for Mixed Signal

    Hi all

    I have a table 2D with, for example, 5 signals with each 100 data points (so a table of 5 x 100).

    I want to show each table on a graph of mixed signals. I have a solution that works for this problem (see attachment).

    My problem is that the number of signals and therefore the size of 2D array is variable. So the next time I run the VI, the table can be, for example, an array of 6 x 200. In this case I can't show all 6 plots on a graph of signal mixd my working solution.

    I was looking for a 'Table 2D to the cluster' function in Labview (see attachment) but unfortunally it is unavailable (perhaps a tip for developers ).

    Is there someone who has a solution for my problem?

    Thanks in advance,

    Patrick

    Why can't we just plug them directly together?  Mixed Signal graphics take an array as input 2D type.

  • Programmatically formatting graphic mixed signals

    I am writing an FPGA application where I am acquiring data from a unit under test (USE). The PXI-7842R digitizes 3 groups of signals:

    1. an analog voltage monitor

    2. 5 digital signals connected to the analog inputs (limitation of the pinout of the connector) and converted into Boolean values

    3. 11 digital signals connected to the digital inputs

    That's a total of 1 analog and 16 digital inputs. I want to show them on the same graph, so I used a graph of mixed signals.

    To avoid reconfiguring the graph of mixed signals, everytime I open the app, I wrote a Subvi to programmatically format the chart. I pass a reference to the graphic indicator of mixed signals and try to adapt it to look how I want. The indicator has been designed as a cluster of analog waveform 1, 2 bus waveform Digital 5 signals 1 waveforms digital bus 3 and 3 different digital waveforms. The Subvi is called inside the host VI using a statement box controlled by the 'First Call' function. Then host vi bed a U32 to the target-to-Host DMA FIFO, formats the data in the correct order and the beams while an indicator of mixed signals. During an attempt to format the chart programmatically, I get errors in property not valid which seem to depend on State. Unfortunately, the documentation of the properties seems to be quite uneven for errors I get. The Subvi attached through the following sequence:

    1. configure the shared axis and shared properties (IgnoreAttributes, ShowBusseswithLines)

    2 set up the area of tracing analog scale Y (superior plot, area 0? documentation is inconsistent on this point)

    3 set up the area of tracing digital scale (sector 1) Y?

    4. name the digital bus (3 in total, should be numbered 0-2).

    5 name the plots

    Correctly all steps 1 through 3, but I get an error when you try to set the Active Bus to 0--> ' #1077 Error, invalid property (Bus Active)»

    I tried to set the Active plot area to 1 before setting the bus, and I get the same error.

    But then sometimes if I rerun the VI host without change, the Subvi ends correctly (even if the area of the scale becomes huge and empty). The only way I can remove the errors is to set the for loops to iterate 0 times, allow the host VI run a few cycles, stop the host VI, remove the constants 0 and run again. And then there is no property errors.

    I then tried to create a constant of mixed signals with the correct sequence of the empty slots and it allows to set the MixedGraph::Value property at the beginning of the Subvi. Now error #1077 occurs at the level of the active node before Plot Bus Active node. The thing first on the definition of the constants of iteration 0 does not help when the value property is an initial value.

    Here are my questions:

    1. the ActivePlotArea property must be configured to use ActivePlots or ActiveBusses, or is that only for sizing and moving areas of land?

    2 - is ActiveBus ActivePlot to define first of all necessary to property? for example, if I have ActivePlot = 0 (for analog plot), the ActiveBus property will always fail?

    3. what else is necessary for the property ActiveBus of function call?

    4. why the Subvi is failing the first time but succeed during subsequent calls without be initialized does not yet reach every time after you initialize (except for loops are set to 0 and Subvi finishes once)?

    5. because I show a legend of the plot, I don't want the names of digital signal appears again in the scale box Y. How can I hide the names but to allow the plot area to extend completely to the legend of the plot rather than leave a large area of wasted white space?

    Hi Nick,

    The reason your Subvi does not work, it's the bus you want to change do not exist when you run.

    If you want to run this sub - VI like initializer, you must first initialize all of the plots you will be change.

    I've included a small example of how to achieve this by grouping together a constant of analog waveform with some constants of digital waveforms and food nerd in the property "value" Mixed Signal curve.

  • Mixed Signal graphic = > line of bad names

    Hello

    I want to use a graph of Mixed Signal and I noticed that the digital waveforms line names are not properly displayed.

    For example:

    The attributes of the wave the nams of line are defined as "Name1" "Name2"; "Name3"...

    On the graph of Mixed Signal, the first line is correctly called 'Name1' but all the others are called "Digital 1-> Line 0"; ' " Digital 2-> line 0 '...

    Is this a bug in LabView?

    If you use a normal digital chart, all names are displayed correctly.

    Yes, I know that I can change the linenames with a property node, but it should also work with the attributes of waveform.

    And a small second question: why are there no digital and mixed-signal graphics cards? I always build them manually...

    Best regards

    Reinhard

    Hello Reinhard,

    I think I found a link that might cover your problem. Looks like it has been known for some time

    How can I assign names to my digital waveform shown mixed graphic Signal?

    http://digital.NI.com/public.nsf/allkb/A6D74595D0EEFA6386257D77006537DE?OpenDocument

    Best regards

    Michael

  • Mixed signals with the buffer graph.

    Hi I'm new to LabView and I have a really basic question.

    Here's what I'm trying to do.

    1. I use chart of the mixed signals to display some acquired DAQmx signals.

    2. I have 3 separate field areas.

    3 X - axes of these areas of land must be completely in Sync.

    that is the main reason why I want to use graph of mixed signals.

    4. I want that signals are displayed as table of waveform,

    It's the waveform data are not deleted during update

    and I can scroll to watch old stuff.

    5. I also want to save the data as numbers of I can also

    do all sorts of calculations with them.

    Now with my vi, the graph gets refreshed and crushed

    each sampling period and only a small fraction of the data I want is

    shown on the screen. (I want to these fractions to get annexed by)

    order of chlonological...)

    I guess that it is a fairly common problem for a beginner.

    I could easily do in C or Java, but rather difficult to do on the GUI.

    Any help will be appreciated

    Thank you!

    If you want to see the temporal evolution of your chart, simply change the x-axis not autoscale under properties of the graph. You can use align your waveform in programming > wave > align times. You can activate the option to scroll by right clicking on the graph > visible elements > graphic palette.

    There are many options for data backup. The quick and dirty is to enable indexing of your time loop and thread to write on the worksheet to the title of programming > e/s file > write in the spreadsheet file. Keep in mind that the file is a txt file.

    Post your code for help.

  • How to trace the temperature and voltage using the graph of Mixed Signal

    Hello

    I use the NOR cDAQ-9178, module NI 9214 (temperature) and the module NI 9201 (voltage). My program allows the user to choose among 3 different tasks, Masurement of temperature, voltage, or both. When you select the task for temperature and voltage measurement, I was drawing all channels on the same graph. I was invited to separate channels of temperature and voltage and draw on a split graph, using the same category axis. I tried stacking, but could not control where each parcel channel went. I think the Mixed Signal graph would work well. Everything works and records all the data of the channels to the files, but my plots appear not on the graph, although I can see the change in scale numbers. I think I can use the cluster incorrectly. Can someone tell me what I am doing wrong? I selected the 'Plot Visible' option, but the plot is not always displayed. I've attached a zip with all the screws needed to run my program. The main VI is "Voltage_Temperature_SingleTask_Measurements_MAIN.vi"... but everything must be downloaded to the program works. Please help... Thank you.

    Hi mzhlb,

    I complained only the expressVIs.

    Why not use simple IndexArray function to get bots waveforms of your waveform table? (I faked it your DAQmxRead with functions SigGen).

  • mixed-signal graph size automatic

    This seems simple, but is there an option that will automatically format all the graphs on my graph of Mixed Signal to the size of my VI? For example, if I increase and decrease the size, the graphics remain a constant size and I would scroll to see them. Secondly, that all graphs have the same vertical height, instead of me manually by dragging the separator to try to make all equal in size?

    Right click possibility and also space all the graphs and auto fit all graphs would be very practical! I can't find the option for her.

    Image attached showing the spacing I'm talking about.

    Thank you!

    Hello

    This can be done programmatically with the nodes property.  The trick is to use two nodes of different property of the to do.

    We must first define whatever parcel we want change to be the active plot by using the Active plot area property node.  We can then define the limits of this plot by using the node property parcel size of the area, which is located under plot area > size.

    Good luck!

  • How to reset the graph of mixed signals automatically?

    How do you resets a graph of mixed signals automatically?

    My idea is like that - I'm drawing a chart throughout the day... Then, at 19:00, I want the chart to erase. There will be a break until 06:00. It will therefore start a new graph at 06:00. How can I do this? It seems easy, but I can't find the solution. Thanks in advance!

    redhotsneakers wrote:

    Why local variables are useless?

    It's a missquote, I'm afraid: I didn't say local variables are unnecessary, even if some would align themselves with this statement. I said that they are in your case. In VI you have published everything first, you are passing data from local variable that can be better spent by wire sind, the variables are literally next to each other. While you might get lucky in a program of this size, it can cause a world of problems in a larger application.

    Back to your problem: after watching your new VI, I'd say you're almost there. Separate features in the two loops does not seem necessary. Instead of the value property, you can try the method reinitialize I mentioned earlier, that should do it.

    Then you can add a feature that reinitilizes only once by comparing the range in the previous iteration.

    BTW: this select function is code of rube goldberg. Why not use the Boolean result of the node equal to the cases.

  • How is - I size the Group zone oin the graph of mixed signals to meet my signal names?

    I have a graph simple signal mixed and I programmed my signal names and they are longer than the width of the component group existing on the subject, and I want them to be visible.  How can I resize the graphic components because I wrote the names to the object?  I know that I can personalize the thing, but y at - it a method or a property that I'm missing here?

    It seems that it is a known problem. You can change the size of the legend by using a property node for waveform graphs, but not for a graph of mixed signals.  A good work-around would be to right-click the gray bar between the legend and the plot area until your pointer changes to the resize tool.  You can then size it is large enough to show the whole legend.  It is a question that is configured to be resolved in future versions of LabVIEW.

  • Mixed signals graphic memory leak

    We have an application where the data is received over TCP, deserialized and fed in a graph of mixed signals (8 analog, 2 digital buses of 4 bits each) periodically (approximately every 500mSec). Analog and digital data are combined in a cluster and fed directly into the terminal of the graph, although the terminal is located in a structure of business with a button "pause". It is built into an executable file that has a slowly but surely increase use of memory (about 4 MB per hour) - unless the pause button is turned on. The culprit must be the graph, no?

    I did a vi to reproduce posting here: copied the source vi, removed only the TCP part and replaced it with random dummy data. While the copy also has a growing use of memory, that he does in the biggest steps about every 15 minutes. No idea why this is. I'm looking at the memory in performance monitor, the counters to "private bytes", if this is important, see attached screenshot: blue is the copy, the Red is the original and to halfway the graph, two of them were on a break.

    Looking around, I saw it but because without more information, it is difficult to say if it is related.

    Is that all I could do to narrow down the problem? Anyone knows a reason why he might flee? Currently, we have Labview2013, maybe someone can try in a newer version to see if the problem is still there.

    Thanks in advance!

    Hi Stijn,

    I can say that R & D are aware of the problem and is waiting for their work, but I can't give a timeline on the resolution of this problem, because I don't know what are the priorities for improvement.

Maybe you are looking for