05-03-2007 09:12 AM
05-04-2007 05:31 AM
05-04-2007 08:29 AM - edited 05-04-2007 08:29 AM
Hi Stuart,
I have cut out bits of my program to make a "Mock up" of what i am trying to achieve so please excuse any wiring etiquette type things (They should be minimal).
The first vi is exactly how my data is created. and is running ok but there are other issues here. I run out of memory with anything above 1000 data points(N) in griddata(Not surprising). If anyone can help me make this more efficient please feel free to give me some pointers.
The second vi is my problem that i initially posted above. I have made an attempt and can get "slices" in one direction but not the other. I think i will have to re-sort my data wrt Y axis or something but still a bit stumped.
Have fun!
Craig
Oh edit type thing - Running LV 8.2 with Mathscript (cant remember if that is an add-on or not now.)
Message Edited by craigc on 05-04-2007 08:31 AM
05-06-2007 11:14 AM - edited 05-06-2007 11:14 AM
Not sure if I understand your request.
I believe a mesh meemory req's grows as teh square of the number of points.
How about a parametric plot?
See attached VI for a first crack at the XY version.
Ben
Message Edited by Ben on 05-06-2007 11:15 AM
Message Edited by Ben on 05-06-2007 11:15 AM
Message Edited by Ben on 05-06-2007 11:16 AM
05-08-2007 04:23 AM - edited 05-08-2007 04:23 AM
Hi Ben,
Thanks for having a look at my problem You have the right idea (You have given me the XY plane, So a slice in "Z" as i would call it i would like my data as a slice in "X" and a slice in "Y"). I have managed to get the desired effect in one dimension of my XY Graph But not the other. If you take a look at my New VI and run it you should see the desired outcome for a slice across one direction of the 3D plot (What i have coined the X axis). I cannot get the desired effect for viewing the data from the other direction (Y axis). I have taken a snippet for sorting the arrays from your VI, however it still does not work, Kinda confusing.
Thanks again, so close yet so far....
Craig
Message Edited by craigc on 05-08-2007 04:24 AM
05-08-2007 05:03 AM
05-08-2007 06:52 AM
05-08-2007 07:12 AM
Hi James,
Thanks for the Input, I have modified my code to include your changes and everything is working just how i like it now plus more efficiently 🙂 This code is going into a results viewer i am writing for a quick look at data sets.
Thanks to all that helped
Craig