Multi plot in chart
Hello All Engineers,
I have attached a VI with this post.
Here in this VI i have two systems data coming from the field, getting the single value from each system in every second. I want as a result 2 waveform in the output chart but i am getting only single waveform here as a result. Suggest me the modifications in VI.
Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Solved!
Go to Solution.
Attachments:
Plot Chart.vi 11 KB
Hi Himanshu,
have you ever looked at the context help, when the mouse is over the terminal of the chart? It clearly says which datatypes result in several plots in the chart: you have to wire a "D array or a cluster.
So simply replace your BuildArray by a Bundle node!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Similar Messages
-
Multi plot graph - auxiliary curves
I am in trouble with a multi plot graph. There is a wave chart that I have to plot an auxiliary line when the user clicks on the graphic. I know how to get the initial point and the final point of the auxiliar line. But I don´t know how can I plot this line in the same graph.
Any ideas, sugestions or examples?
Thank you in advanceSpeaking only for myself, I am not sure about the nature of your request.
Could you please post some code showing an example of what you can do now and a jpg of what you desire.
This may help us help you.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Plot a chart dynamically based on the values selected
Hi All,
I have some requirement like this i want to plot a chart . The chart should change dynamically based on target_name and date. What type of UI should I use ? I tried using multiselect or shuttle for choosing the target_name and date picker tool for date once i choose all this the chart should appear. Can I have a custom button called submit so once all the values are entered it plots chart ? Please help me out with our ideas.
Thanks in AdvanceHi,
Using the dependent value sets you can govern the values which can be selected based on a specific value selected in a particular segment. Example if Country name is selected in segment 1 then specific states names as per the country selected can be displayed in segment 2.
As per the requirement described you want to enable different fields based on the value selected in segment1, currently there is no standard mechanism available to enable/disable fields based on a value and you will have to do an extension/customization to meet this requirement.
Thanks,
Sanjay -
Express XY Graph Multi-plot Cursor point
Hi,
In mixed signal graph >> Property >> Cursors Tab >> Enable Allow dragging here if we select Multi-plot, it will show X scale and all Y-scale value in Cursor legend.
How can I get these same options in Express XY Graph?
Sivaraj M.S
CLDYou need to use a property node and find the curser position and then plot those points in a seperate xy plot (only it will be one point instead of an array). You will still have to plot it as an array of one point.
Tim
Johnson Controls
Holland Michigan -
Mixed Signal Graph: Cursor Position Property for Multi-Plot Cursor
I'm working 6 waveforms on 3 different plot areas in a mixed signal graph in LV2009. When I try to pull the Cursor.PosY property from my cursor (in which Watch All Plots is True, and is set to Multi-Plot in the graph properties), it returns the value of only the first plot in the cluster of waveforms fed into the graph. I've tried changing the active plot, active plot area, nothing changes. I am able to retrieve each value via the cursor legend, but I cannot pull each of those values into another portion of my program. Also, I noticed that when setting events in an event structure, any events relating to a cursor drag aren't present as they are in a waveform graph. My workaround is to create an indicator for the Cursor.PosX property and monitor when that value changes, but I feel there should be an easier way. Any help is appreciated.
Thank you in advance!Jeanius,
I am not quite sure why the cursor pos in the Wavegraph reference does not change when you change the active plot, but if you grab a reference to the specific cursor and then change the active plot things you receive the expected behavior.
Ben J.
National Instruments
Applications Engineer
Attachments:
MODDEDmixed graph cursor ex.vi 41 KB -
Hello, LV 8.2.1 notes indicates the following bug fix:
43SAIR2A Fixed an issue where LabVIEW crashes when you run a VI that contains a mixed signal graph with a multi-plot cursor.
I am running this version, and still have this behavior. Is there anything I may be missing, and/or certain circumstances that may still be causing this?
thanks in advance,
DarrenDarren:
I looked at the CAR ID that you mentioned and the issue has been resolved in LabVIEW 8.2.1. To verify something similar, I ran the attached VI and things worked just fine. Please feel free to send me the steps to follow to reproduce the issue you are running into in 8.2.1.
Regards,
Rudi N.
Attachments:
MixedGraphs.vi 15 KB -
Dear All,
I am working on Mixed Signal Graph with Multi plot cursor.
My target is to move the cursor on X axis time scale and get the y axis values of all the plots.
i got some ex. on forum but i am facing a typical problem explained as follows:
By chaning the cursor plot i am getting the y axis values for each plot.
The problem is that the values are continuously changing of the plot y axis value automatically, ans also the values of the respective plot does'nt match all the time, it changes.
I have attached a example, in that the values of the respective plot changes every time.
Am i missing anything, please guide.
Regards,
Shrek
Attachments:
Mixed Signal Cursor.vi 34 KBHere is a quick mod .. don't know if it solve your problem, but I get constant values
Will work only if all plots have the same lenght ...
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
Attachments:
Mixed Signal Cursor.vi 27 KB -
Multi plot cursor in Mixed Graph
If Digital waveform and normal waveform graph is plotted in a mixed graph, and if I choose watch all plots(multi plot) in cursor, LabVIEW closes immediately with an error popup dialog
I have attached the print screen image of that error popup
Attachments:
error.JPG 188 KBHi Stephen,
I found a considerable solution to overcome that error.
Build all the array data at first and then generate digtal
waveform in single instance.
ie., With number of numerical array data, build a 2D array of
numerical data and make a transpose and then generate a waveform.
It generates number of digital waveform equal to that of the
column size of 2D Array.
Do not build generated digital waveforms. This creates an error
while using multi plot cursor--> watch--> All plots.
I have attached the modified, bug removed Vi with this message for
your reference.
Regards,
Raja
Project Engineer
Soliton Technologies
www.solitontech.com
Attachments:
Mixed Graph Modified without Error.vi 25 KB -
I am using an XY graph with 5 curves which belong to one of two y axes each. All curves share the same array of x values. I do not like the cursor legend so I want to read out the values of the one cursor programmatically. I can create a multi-plot cursor which watches all the 5 curves but I cannot find how I can read out the 5 corresponding y values of my cursor. Any help?
Thanks,
LX (using LV2014)Use the cursor index property value and wire that to an index array function for each y array.
-
Mixed Graph - Multi Plot Cursor Problem
If I plot both Analog Waveform and Digital Waveform in a single Mixed Graph, and when I choose watch all plots in cursor legend, LabVIEW crashes with an error message.....
I have also attached the Print screen image of that Error
Attachments:
error.JPG 188 KBJared Boothe,
I found a solution to overcome that error.
Build all the array data at first and then generate digtal waveform in single instance.
ie., With number of numerical array data, build a 2D array of numerical data and make a transpose and then generate a waveform.
It generates number of digital waveform equal to that of the column size of 2D Array.
Do not build generated digital waveforms. This creates an error while using multi plot cursor--> watch--> All plots.
I have attached the modified, error free Vi with this message for your reference.
Regards,
Raja
Project Engineer
Soliton Technologies
www.solitontech.com
Attachments:
Mixed Graph Modified without Error.vi 25 KB -
Hi,
I'm experiencing a problem using a multi-plot xy graph. I have to display 2 plots together, and make them appear and disappear many times during the program running.
But when I close LV and restart it, the second plot (plot1) doesn't appear, and also I lose all the properties I've set for it (name, color,...). If I don't shut down LV everything works well.
What can I do?Stefano Moret wrote:
When you write about use property nodes, I'm using the "visible" one.
Your suggestion is to try also to set all the properties from there? Maybe it's a good idea, I'll try.
Here are some code snippets I used once to initialize the graph and later on change legend entries depending on user selection.
You can also change the way plots are represented during run time. You always have to start with ActPlot do selct one of the plots.
Good luck -
Hi I am trying a plot a graph using the values from one of my table.
I am filtering the data using timestamps.
When I use direct SQL against the database it is retrieving all the data.
However When I am using the same SQL query to plot a 2D line Graph it is not using all the values to plot the Chart.
Any ideas.
Thanks
BalajiHello,
Have a look at the serie where you defined the sql statement.
You probably have a max there of 15 records. You need to increase that value to for ex. 50.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/ -
Thermocouple Multi Plot Question
I have a Keithley 2750 with a 7708 card in the first slot.
I have no problem getting the readings, but when them come in, I want to index them based on their channel, which theoretically should happen by using 0 and 1 with the index command.
If this isn't possible or there is an easier way to gather readings by channel, any help at all would be appreciated.
Code is attached.
Thanks in advance.
Kat
Solved!
Go to Solution.
Attachments:
Keithley Thermocouple Multi Plot.vi 36 KBThe problem is with the array that's produced.
For this to work right, it should be a column with row 1=channel 1 and row 2=channel 2
Because of the continuous read they switch sometimes, which makes plotting them near impossible.
Simply put, I need to sort the data by channel so I can plot it properly, but neither I nor my mentor could figure out a way of doing that. -
Hi,
I really like the look of the graph used in XY Multi Plot.VI
Does anyone know if you can have two scales on the y-axis for this type of plot? How to implement it?
Thanks
aleks.Yes, you can have two Y axes. You right click on the one you have and choose "Duplicate Scale" to get the second scale. You can then choose to "Swap Sides" if you want it on the other side of the graph. From the Plot Legend, you can click on a plot to choose which Y scale will be used for that plot. You might also want to play with grid colors or something like that to get some visual clue which plot goes with which scale.
-
Errors with multi-plot cursors on Mixed Signal graphs
Using a Mixed Signal graph, it seems that a multi-plot cursor does not snap correctly if XScale.Multiplier is not set to 1 - it seems to ignore it altogether. A single-plot cursor on the same graph does not have this problem. Am I missing something?
In the attached VI, XScale.Multipler = 0.1, and Cursor 1 (Single-Plot) shows the correct value, but Cursor 2 (Multi-plot) does not.
Attachments:
MixedSignalCursor.vi 14 KBHello,
The behavior I see is that the multi-plot cursor which is snapped to plot 0 seems to generally follow an "imaginary plot" which corresponds to a scaled version of plot 0, where the scale factor is the value wired to the XScale.Multiplier property. I don't think this is desired behavior so I have filed a corrective action request to R&D to have this addressed. I am sorry for the inconvenience - hopefully you can live with an X-scale multiplier of 1, or the single plot cursors for the time being. It also takes the offset property similarly, offsetting the "imaginary plot" by whatever value is set there.
In any event, if this poses a significant problem with additional contingencies, please let me know and I'll be sure to include any updated information in the corrective action request!
Thank you,
Best Regards,
JLS
Best,
JLS
Sixclear
Maybe you are looking for
-
I would like to know if the iphone has the ability to hear text messages via bluetooth?
-
MSI-256 - Fast Forward/Rewind Issue...
Folks, I'm using the MSI Mega Stick 256 with the latest firmware. All is cool, except for the fast forward/rewind function. I'm listening to the .Net Rocks radio show. The show is long - up to two hours. So I need to fast forward to get to where I wa
-
Why can't I use mover's coupon on Macbook?
Hi, Happy thanksgiving everyone, but my experience at Best Buy today was so disappointed. I recently moved to new home and received a mover's coupon for Best Buy. I tried to buy a Macbook Air 13.3 at 8251 Gateway Overlook Dr, Elkridge, MD 21075. At
-
User exit or BAdi for KE51or KE52
Hi, Does anybody knows what user exit or badi can I use when a Profit Centre gets activated in transaction ke51 or ke52? I tried implementing EXIT_SAPLPC45_002 of Enchancement PCA00003 but is not reaching my user exit. Thanks, Pablo.
-
Visual Configuration Tool (VCT)
Hello experts, I would like to learn / use the Visual Configuration Tool (VCT). What way or what transaction must I execute ? Have somebody any documentation about (VCT) Regards Juan