No plot on graph XY
Hi Forum members,
With respect to the vi in LabVIEW 2010 attached, I have problems to get the XY graph to plot my data. Currently the XY graph shows nothing when the program is run. I set the x-axis to read time of the simulation and the value axis to read the scalar value of my data via the .csv spreadsheet file. I know the data of the spreadsheet file are read correctly because it displays all the data in LabVIEW.
I checked the settings of the chart IN and set it to a red line with the thickness, but I do not understand why the image is not being traced.
Any help would be grateful.
Kind regards
People of excuses... I just discovered that there is a checkbox "Clear data on each call" that must be eliminated in the service of 'building the XY Chart '.
Tags: NI Software
Similar Questions
-
Build the table to 2 dimensions to plot a graph from UIMessages
Hello guys,.
I need some advice, the problem I have is that I want to pass an array [0 5] numbers to my throwugh of custom UI UIMessage to plot a graph with these data in the same grapgh (see the behavior of the 6 signals on the same graph), but so far I could only pass a value and see only a signal in the graph.
Is there a way to pass the french table UIMessage using the activeXDataParam? Or may be otherwise?
Thanks for your comments.
Eder
I threw together a simple example in TS 2014 and 2014 LV. I think it does what you want. Simply run the main vi in the project and select the random sequence file Array.
In addition, attached is a photo of my UserMessage vi.
Hope this helps,
-
Plot the graph of origin using Labview
Hellou,
I try to plot the graph of origin using Labview. In Labview I connect and create the new model of origin for instance. Template file (.) OPJ) was created before. End of data in the worksheet then I plot the graph of origin. But I can't use OA_NewEmptyGraph.vi because it is to create a new chart. I'm trying to graph in graph model.
In labview that I found for OA_FindWorksheet.vi sheets, it's journal to find, but a cant find, a few "OA_FindGraph.vi" is - it is or made elsewhere?
Thank you
Norbert
Hi Norbert,.
your question seems to be linked to LabVIEW, while you're wrong he posted in the forum of LabWindows/CVI.
-
How to customize the context menu in the legend of plotting the graph of wave?
I am currently on the creation of a simulation of various control loops as educational objectives. Here, I have a chart in waveform to different signals. Now my question, how to customize the context menu in the track of the Waveform graph legend => when I click on 'image' behind the Plotnames one menu to open options where you can customize the color etc. or plotwidth. But students should not have access to these settings. How can I change or disable this menu? The context menu for the waveform graph, I've already customized by right click on table of waveform-Advanced online-online menu, but for the legend of conspiracy, I have not found this setting...
Thanks for your answers... I tried different things, but I don't see a solution yet :-(
See you soon
DCP
Hi, STC,
There have been a number of suggestions for change or disable the table , right-click menu, but I see that this does not affect the context menu of legend , which is what you ask for help with.
To prevent completely the menu right-click to work, you must disable the chart control entirely. You can do this by double-clicking on the chart and select Advanced Options > active state > disabled. This will prevent the operator to be able to generate a menu right click on the chart control.
If however you still wanted the table, make a right click menu to work, but the legend made a right-click menu will be disabled, I see two options:
1. draw a classic decoration square on the legend and the transparent color. This will prevent the mouse clicks to achieve the legend, and transparent it will not interfere with your user interface appearance.
2 use a Structure of the event to capture the event filter Popup Menu of Activation? for the chart control. You can then use the Coords property to determine if the mouse is over the legend or not. If this is the case, send faithful away? right Terminal. It will refuse the context menu when the user clicks on the legend of the plot.
-
I'm using Labview 8.5 and I have a 3D line chart to which I attribute (x, y, x) = (Latitude, Longitude, Altitude). I would like to add another plot to the graph, but I can't.
I read in another post that you have to click with the right button on the graph, and then choose the locations tab, but the only tabs that I get when I right click are appearance and Documentation.
Can someone help me add another curve?
Thank you.
epik78 wrote:
I'm using Labview 8.5 and I have a 3D line chart to which I attribute (x, y, x) = (Latitude, Longitude, Altitude). I would like to add another plot to the graph, but I can't.
I read in another post that you have to click with the right button on the graph, and then choose the locations tab, but the only tabs that I get when I right click are appearance and Documentation.
Can someone help me add another curve?
Thank you.
In this thread I illustrates how to add a graphic 3d locations.
Ben
-
How can I disable plot a graph multi-intrigue 0?
I'm traced several channels of data, by using the check boxes draw visibility to enable or disable specific channels, if I can just see the channels of interest (see figure). However, if I try to turn off the plot 0, I can't - the box remains checked. As the example shows, however, I am able to activate (or deactivate) the other channels.
How can I disable plot 0? [This, me seems like a 'dumb question', but I couldn't figure it out, again...]
.
This has been reported as CAR #368466 which is resolved with LV 2012 SP1.
Norbert
-
How to plot the graph control scattergraph mulitple?
Hello
I have two double arrays declared and I'd draw x and y and x x. I can do one at a time, how can I add so that x, y and x, x points are displayed. I tried to use the plotXYmulitple command, but it requires a 2D array. What I need to convert my 2D table data or there is an easier option? any help would be greatly appreciated.
You are absolutely right! That's what happens you encode two o'clock in the morning. I'm writing my own solution below in the case where any other interested person. But you know it will be nice if you can make mulitple conspire like matlab function plot(x,y,x,y) etc.
Thanks again!
Kashif
double[] xValues = new double[5] { 1, 2, 3, 4, 5 }; double[] y1Values = new double[5] { 1, 2, 3, 4, 5 }; double[] y2Values = new double[5] { 1, 4, 9, 16, 25 }; scatterGraph1.DefaultDataOrientation = DataOrientation.DataInColumns; double[,] yValues = new double[xValues.Length, 2]; for (int i = 0; i < xValues.Length; i++) { yValues[i, 0] = y1Values[i]; yValues[i, 1] = y2Values[i]; } scatterGraph1.PlotXYMultiple(xValues,yValues);
-
How to plot a graph with no fixed time interval?
Hello
I know that this question is a bit silly... but still, I would like to know how to find...
If the signal is generated randomly by time, how it chart in the chart since its interval must be fixed?
as the following picture
I think graph XY can achieve, but is not what I want because the signal is generated continuously for a long time.
I hope that data must be updated, graphic - mode this possible?
Use a fixed size queue and make a queue with loss when new data. It essentially becomes a data buffer of length defined by your queue size. To display data, use 'Get Queue Status' with 'Elements to return' = True.
(Or have fixed an array of size and have a circular index of items - but I think that the solution of the queue is cleaner)
-
I am a graphic field using the values of one of my table.
I am filtering data with timestamps.
When I use direct SQL against the database it retrieves all the data.
However when I use the same SQL query for a graphical 2D line he uses all the values to graph.
Any ideas.
Thank you
BarroHello
Take a look at the series where you set the sql statement.
You probably have a max of 15 files here. You should increase this value for e.g. 50.Kind regards
Dimitri
----------------------------------
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/ -
Graph: graph of WPF. Error Plots.Clear)
Hello
I need dynamically add patches to the chart. Code like this,
ObservableCollection
dataSource = new ObservableCollection () ; Graph DataSource = dataSource;
public void AddOnePlot (Point [] pointData)
{
Plot = new Plot();
Graph Plots.Add (plot);
dataSource.Add (pointData);
}
But when I call graph. Plots.Clear: the error is "beach action are not supported.". How to erase all the plots in the graph?
Looking forward to your response. Thank you.
The
Plots
collection on theGraph
class derived fromNotifyingCollection
, which raises a single optimized global event when several items change. On the other hand raises theObservableCollection
.NET separate events for each item in the collection. Measurement Studio controls are supported on both models, but the WPF controls such asItemsControl
do not support aggregation events ("actions range" in the error message).However, there is a bug in the current version of the
Legend
control: If you bind theItemsSource
property to a collection rather than a chart, you may encounter this error if a default collection view is created. To avoid this, you can serialize events (as you demonstrated above, removing individual items instead of compensation), or you can use theNotifyCollectionChangedSimplifier
to adapt the collection for the model "a separate event for each item:xmlns:ni="http://schemas.ni.com/controls/2009/xaml/presentation"
xmlns:niPrimitives="http://schemas.ni.com/controls/2009/xaml/presentation/primitives"
...
...
-
How to make a graph that plots &; quot; steps &; quot;
Hello, I want to be able to plot a graph that displays "steps".
I use the Waveform.vi plot would again change the type of trace of square waveform (which I think is the control to be edited), nothing happens.
Please see the attached picture of what I want to say right now, thank you
I also want to change the x axis to display 0 to 10 instead of-100 to 0, I tried to change the minimum and maximum values of the Cartesian axis attributes x, but then the graph is out of reach.
-
Script to change the line style in a graph report
Hi all
Is it possible to automate the formatting of (linestyle) of a plot of graph in a report?
friend,
Ben
This code accesses a system of axis line style:
Call GraphObjOpen("2D-Axis1")
Call GraphObjOpen("2D-Axis1_Curve1")
D2CurveLineType = "solid".
Call GraphObjClose("2D-Axis1_Curve1")
Call GraphObjClose("2D-Axis1")Please note that you must know the name of the Axis system and the curve you want to change and use the correct names in the GraphObj... commands.
The best way to find these commands is via the function Ctrl-A in tiara.
Valid entries for D2CurveLineType are:
End of script
Terms of interface, explanation
solid
Line
Dashboard & dott.
Points and dashes
1 dotted
Dashes 1
2 dotted
2 dashes
dotted line
Dotted line
I hope this helps.
Otmar
-
How to trace the constant width - bar graph?
Hi all?? I'm having a problem...
I have two tables 1 d, I have them plotted using Graph XY with bar graph, the problem is that I'm not able to get the bar with consant width chart.
How to get the bar with a constant width...
Could just be it please one through little light for my querie?
I enclose my VI, façade, block diagram
Thanks in advance...
Hi girikavali,
you could do shows in order to create a Subvi which automatically adds these points of NaN?
-
Chart how many plots with wpf chart
This is probably a very basic question, but I can't understand how the chart more than a set of data with the chart WPF in VS2010. There is a DataSource property on the chart, but I don't see the same on each class of land. I can't find any documentation on the source property of the chart data. Can I pass an array of doubles and he plots very well but now I need to draw two sets of data. Can anyone help?
The
DataSource
property is documented in the how: map and graphic subject and on theGraphBase
class (which is the type that defines the property). However, it seems that these issues do not directly address your question multiple plot; I put in a request to improve this.To answer your question, if you use
DataSource
to pass an array ofdouble
values in a plot, you can use a collection to pass data to multiple locations (for example adouble[][]
, aList
, or aObservableCollection
).Otherwise, you could use the
Data
collection to provide each parcel with data; for example:graph.Data[0] = /* double[] for plot 0 */;
graph.Data[1] = /* double[] for plot 1 */;
~ Paul
-
Polar data in a graph of intensity
Hello, I'm trying to plot a graph of the intensity in a real-time application. The problem here is that I get to control the scale, the RADIUS and the angle separatedly, any ideas on how I can trace in a graph of intensity?
Hi MrX,
It is pretty basic math to convert r & theta x & y.
LabVIEW provide even basic functions to do this!
Maybe you are looking for
-
How can I get my address book in alphabetical order?
My address book is not sorted. I need to see/sort on 'Email' whenever I need to access. Then and only then to find an e-mail address. I have to do this EVERY time I send an email. After that I go back to Thunderbird, the email addresses are blurred a
-
HP Officejet 6500 A Plus E710n: HP connected connection
I want to configure the printer on a Hotspot of Straighttalk. Is this possible? Message of the printer is that it cannot connect to the network. Want detailed instructions, like what would be given to a newbee.
-
Games in Windows 7 problem: FSX Acc on Win7 x 64
I installed Windows 7 RC1 x 64 and Deluxe FSX + acceleration.My graphics card is 9600GT and CPU DDR2 RAM(This is why I chose to use 64-bit Windows 7) E8400.4GB.At that time, I was playing FSX and everything worked well. But a few minutes later, when
-
How do I determine that my copy of windows contains all the latest updates, service packs, patches, etc?
-
My m7680y can support graphics cards PCI requiring 2 screws/slots?
Or two slots? Im not sure what the technical term is... Im trying to buy a geforce 9800 and it requires 2 slots. I would like to make room for two slots after I remove my old pci card, but ill have come down the sound card. While matter where the sou