Reeal-time 3D graph with multiple plots
Hello,
I realise this is a very complicated question and I would appreciate any healp anyone could give. I am trying to:
1- draw a 3D graph with three plots (plots are from coordinates read from XL)
2- do it in real time, so that only one point from each plot shows at a time (the previous points disappear)
Can anyone help me out? I looked at Sarah's advice and I got as far as the program that I have attached. I have also attached an XL sheet with random values (actually I didn't have any luck attaching two files).
I would appreciate any response!
Thank-you,
Confused
Attachments:
3D graph.vi 127 KB
IBAHKA wrote:
Could you look at this new and improved (yet not perfect program) and help me out?
Issues:
Why do the axis all change and why aren't the points drawn all at once? ALso, is it possible to retain in memory and plot more than one point from each plot at once?
The axis are changing because you didn't ask for constant scales. Just right-click on the 3D graph indicator and go to CWGraph3D/Properties... There a pop-up window will give you access to a number of settings. Explore. You will find how to allow the user to pan/zoom/rotate the graph, and to disable autoscaling...
The points are not drawn all at once because you pass them one at a time!!! To plot several points at once, you have to build an array with the proper number of points (initialise first) then you can rotate the array after plotting, and replace the first point at the next iteration.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Similar Messages
-
Convert a scatter graph with multiple data series into individual graphs
I am trying to convert a scatter graph with multiple data series into individual graphs, with the series having the same formatting as in the graph when all series are together.
Normally, if I delete any series, the color scheme for all the other series vanishes. I can then waste more time in having to re-adjust the color and shape of the series, but this is tedious. This, I do not want. Is there an automated way to do this?
Ideally, of course, all series would appear in little subsections in the space of the former one graph, all with individual axes, but I can't have all, so I'll settle with having several individual new graphs, each with just one series, and with the original
formatting.
Thx.How about creating a copy of the chart, and then setting all series except one to be transparent (no line, no marker)? Repeat for each series.
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
How do I update a waveform chart with multiple plots one point at a time?
Hi,
I am updating multiple plots one point at a time. That is, every time I update the chart I have a value for one of the plots. If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart. I would rather have them connected.
Any clues? The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
ThanksAre the points within a given plot equally spaced in time? If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time. If the points are unequally spaced, then you will need to do it as an XY graph.
-
Plot X-Y graph with multiple y values on same x axis
Dear all,
I have written some vi on a small part of my application. Basically, every 20 sec, I will acquire a set of readings (array) consisting of 10 data points known as T1. So at every timestamp, there should be 10 datapoints plotted on the same timestamp. Then 10 sec later, another timestamp with again 10 datapoints. I wanted the data to be plotted and updated every 20 sec and continue till I stop the program. At the end, I hope to see 10 horizontal lines.
I face some problems now and hope someone can help me on this? The problems are how do I plot the 10 datapoints at every interval of 20 sec. How do I also keep on updating the data? I know I need to build arrays but I am not sure how to do it.
Someone who knows please kindly help me on this as I have been trying but to no avail.
Solved!
Go to Solution.
Attachments:
plot.png 69 KBDear All,
I have tried the program again. But there is still some problems.
How do i create the time interval of plotting the 10 datapoints every 20 sec interval. Meaning how can i plot 10 datapoints at one timestamp and another 10 datapoints another 20 sec later? Right now it seems that if i introduce a delay of 2 sec, the graph will be plotted 2x10= 20 sec later. However i want the scan rate to be 20 sec. If i set the delay at 20sec, then i will have to wait for 20x10=200 sec right? Is there a way to make it plot every 20 sec interval interval but not 2 sec scanning rate?
Right now, the x-y graph will refresh itself after 10 loops. However i also want to keep the previous datapoints (plots) in the previous timestamps also and it should be continuing since i started the program . How do i modify the program as i think i need to use build array function and shift register somewhere.
Can anyone assist me on that? Thanks!
Kudos! Thanks! -
Changing XY graph to multiple plot freezes labview
Hi,
I have a 0-dimensional XY graph which is part of a fairly big VI which I want to change to a mulitple plot version. However, when I wire an array of XY-data clusters instead of just an XY data cluster LabView 2014 freezes and crashes:
LV freezes when i wire the lower 1-dim version.
There are mulitple VI references, Property nodes and Events in use from this graph. Usually this change is trivial, but for some reason it won't work here? Any ideas? Could it be a property node or VI reference that becomes incompatible when the dimensionality is changed?There's not much that we can do to help without knowing what all you do with your code. It might be a property node. Might be a specific setting you have.
I can make the code in your screenshot all day and not have a problem, so it's specific to either your LabVIEW install or your code.
Your first step towards figuring this out is find all references, property nodes, and invoke nodes for this graph and pinpointing the problem. Remove each one-by-one, starting with the ones that have something to do with Active Plot or multiple graphs, until the freeze no longer happens. Then send a detailed bug report to NI to fix it for future versions. -
Autoscale XY Graph with 2 plots
I have a graph with 2 different plots on the same Y axis. If I turn off the "visible" property on one of these plots (so I have only one plot visible), the autoscale Y continue to take both plots into account, thus creating a very too large scale for the visible plot. Is there a way to autoscale only one plot while another is hidden but associated with the same scale?
You have several possibilities, for example:
* instead of setting the property to invisible, temporarily replace one graph with empty data. (see attached sample code).
* Don't use autoscale, but use ArrayMinMax on the visible y values, the set the yrange.minimum and yrange.maximum accordingly.
*switch the second plot to a second y scale while invisible and back to scale 1 when visible again.
* any other variation of the above.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
HideXYPlots.vi 51 KB -
How to draw xy graph with multiple y axis input?
Hi,
I have problem in xy graph, the xy graph only can show 1 signal from the y axis input ( As you can see in the attachment )
Is it possible to draw xy graph with 2 Y input? Or maybe there are another type of graph that possible to do this?
Note: the x axis should be from an input too ( not versus time / sample ).
All answer and advice are welcomed.
Best regards,
Alvin Chandra
Solved!
Go to Solution.
Attachments:
Example.vi 139 KBAre you asking for a second Y scale on the graph?
If so, right click on the existing scale, select "Duplicate Scale". This will create a second scale. You can then (if you wish), right click on the new scale a select "Swap Sides" to put it on the other side of the graph.
Are you asking about adding a second plot?
If so then you need to bundle your arrays of X and Y points into clusters and build those into an array:
The X-axis is always from an input on the XY Graph. You just need to change the axis title. Easiest way to do this is to double click on the axis title and type the new name.
Rob -
Time Machine backup with multiple user accounts
How do I backup a machine using a Time Capsule/Time Machine that contains multiple user accounts? Ultimately I'd like to flexibility of using the Restore from Time Machine Backup command to port the user data of one account onto a new Mac. Thanks for any insight.
If Time Machine is enabled in one account, then when that account is active Time Machine (which is set up in that account) will backup the entire drive unless you exclude something. That backup will contain everything on the drive being backed up. You can restore either account separately, but when logged into one account you will not have access to files belonging to the other account. You can restore individual files and folders from either account, however.
-
Mixed signal graph with mulitple plots
Hello,
I am using a mixed signal graph in a DAQ program to display
the data from multiple channels after I'm done logging. The data is in a 2-D array and I'm bundling
it with a x0 and Δx just like a waveform graph.
Each row in the array has the data from each channel and I want each one
to be displayed in a separate plot area.
I know I can set each plot to a different y-scale using the properties
of the graph, or using the plot legend, but I'm using this in a sub vi and
would like this to happen automatically when it runs. I'll never have more than four channels so I've
made four plot areas, but it always just sticks all the data in the first plot
area. So how can I set up a property
node for the mixed signal graph to make this work? I attached the code I'm using for the bundle and graph.
Thanks
Doug
Solved!
Go to Solution.
Attachments:
mixed signal graph code.png 5 KBAfter working at this a little longer I was able to solve the problem. I just had to figure out which properties to control. The active plot and the y scale index nodes set each channel to a different plot. The picture shows how I set up the property nodes. The blue wire is the number of channels that I was using and the strings are the channel and cursor names. I know there's probably a better way to do this but I'm not a software engineer, and the guess and check method of programing has worked for me so far.
Attachments:
New Picture (5).png 26 KB -
3D columns graph with multiple series
I need to obtain a graph like below.
I want to insert other series into Y axis. It's possible?
thank you.
Daniele.b75Hi,
Yes, there is no build-in chart template that you want. We can only use the Gradient fill to close your request. But, it can't display the multiple series in cumulates chart.
In my view,
custom a chart via VBA is also a good workaround. I'm not familiar with VBA, if you have further question, I recommend you post the question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Multiple attempts to load and have an unsigned file execute multiple times a day. see below; Could these programs come from Adobe, and why would no company name be associated with the file?
WinPatrol ALERT: New or Changed Program – Startup Program
A new automatic startup program has been detected.
Type: RunOnce
Often required for software updates and new installations.
This program should only run once when you restart your computer.
This program could slow your computer by running in the background.
Was this program expected and something you want active all the time?
No description found.
Company name not included in this program
Accept Change / Reject Change?
CHANGE REJECTED each time.
Seems to display after opening a PDF file.
Date: 02/04/15
exe FILE NAME: 1423065554
02/05/15 1115AM
1423156848
02/05/14 1140AM
1423157865
02/05/15 1150AM
1423158578
02/05/15 1229PM
1423160904
02/05/15 0120PM
1423163901Adobe had this issue Multiple RunOnce keys created | 11.0.10, 10.1.13 | Acrobat, Reader
-
Bar Graph with multiple series
I am trying to created some graphs in 10g reports. I want a graph that has 2 bars per group. On the layout tab I have column A and Column B on the bars line and Column C on the groups line. When I run the report Columns A and B show up as 1 bar on the graph. Where do you specify the values for series 1 and series 2?
Hi,
When you create a bar chart using a "group by" attribute, the resulting groups are displayed as stacked bars or as dual Y bars (shows the groups side by side). The button in the chart's toolbar (with stacked bar chart icon) is used to change this presentation. You can display the data as it is, without aggregation, by using the line or scatter charts. The line/scatter graphs should allow you to display multiple Y values (series), but there appears to be a bug that causes a single line to be displayed instead. Multiple series bar charts and label renaming are not available in the current release.
Thanks,
Marat -
Time Series Graph with two Y axes in 11G?
Hi everyody,
Is it possible in OBIEE 11G to create a time line series chart with two Y axes (different scales of course) ?
Thanks,
AlexHi Alex,
Almost more than 1 year now on this and I am still looking for this. So far I dont see any direct option there to put this chart.
Let me know as well if you see any option.
Thanks -
Stacked Bar graph with multiple bars
Hi,
I want to have a graph where I will have multiple stacked BARs. Having single stacked bar is OK.
Is there a way to achieve this ? I am using 11.1.1.2 ADF and ADFBC
For Ex:
You have
-TV sales per month for different regions
-DVD sales per month for different regions
I want to have 2 stacked BARs one for TV and one for DVD. X axis will have the date ..
ThanksFrom what i understand, i think you are looking Dual Y Bar graph.
For more information, look into this documentation - http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12418/tagdoc/dvt_barGraph.html
Thanks,
Navaneeth -
Time Machine issue with multiple drives...
So I am trying to run two backups, one wirelessly and the other through a wired USB connection. This is for a MacBook Air, so it's not always connected to the USB drive. The instructions I found online said that once you click "Select Disk" and to to add another disk, it will ask you if you want to switch disks or use both. That option for "both" never came up, and it was like I was selecting a new Time Machine disk. Why is that? Can't I use both disks as automatic back-ups? I am thinking of adding a third, and didn't want to continue unless I was sure. I have OS 10.7.5
The option to use multiple backup disks is only in OS X 10.8 and later.
Maybe you are looking for
-
How can I use the Time Capsule in only 802.11b/g?
I think I am getting interferences on my 5GHz phone from the time capsule, which I have running in 802.11n mode with b/g compatitibility. I assume if the Time Capsule was running in 802.11b/g mode I would not get the intereferences? The Airport utili
-
Error message Entry already exists in UDO
I am working with SAP B1 Release 2005B. The software was working fine for more than 11 months. Now suddenly from last 2 days no entry is getting saved into an UDO. the error message displayed is ' This Entry already exists in the table '(@CREQ) (odb
-
my itunes dissapeared from my computer. when i tried to redownload i got an error message stated that the old version of Bonjour could not be replaced. i tried to manually remove it and it will not let me remove it.
-
FF.D payment request not created, payment advice existing
I use Transaction FF63 memo record to transfer cash from house bank account A with House Bank A to house bank account B at House Bank B. I clicked on Save account transfer" function. Two advice documents are created (for 1st bank account and for 2nd
-
Can someone confirm that the iPod nano 5th gen will play bought games?
Does the iPod nano 5th generation play games bought on iTunes Store for iPods with click-wheel? The iTunes Store says the games are for 3rd / 4th gen nanos and 5th gen iPods / iPod Classics. As the iPod nano 5th gen has a different aspect ratio / scr