07-06-2009 04:02 AM
Hi, i'm trying to plot a 3d graph with intensity values for each defined point (or area if needs be)
so each point has (x,y,z,i) values.
someone said on anther thread that this exsisits already in the 3d plot as the 'w' array, although i'm having trouble finding it.
has someone got an example of it being used?
Cheers
John P.
Solved! Go to Solution.
07-09-2009 03:28 AM
Hi John,
Are you using LabVIEW? If so what version? If you are using another programming environment please can you tell me what it is and what version you are using.
In LabVIEW 8.6 this should be relatively easy, but there is no real point telling you how to do this until I know what you are programming in as the 3D graphs were completely redeveloped in LabVIEW 8.6 and so any previous version will have a different method.
Regards
JamesC
NIUK and Ireland
It only takes a second to rate an answer 🙂
07-13-2009 04:03 AM
hey, i'm on lv 8.2, and i'm kinda stuck with it, we do have lv 8.4 availible if needed, so *in theroy* i have access to both versions.
I'm not useing any other enviroments.
07-15-2009 03:24 AM
Hi John,
Once you have placed down the 3D graph on the front panel, if you go to the block diagram and open the SubVI, you will see in the case structure to the right of the VI there is an invoke node called either Plot3DSurface or Plot3DSimpleSurface depending on if you are using X Y & Z or just Z as an input, on these invoke nodes is a W array that accepts a 2D array of magnitude data.
This is the W array you are looking for.
Regards
JamesC
NIUK and Ireland
It only takes a second to rate an answer 🙂
07-15-2009 03:47 AM
Hi, now that you say its all come flooding back to me.
i've used that before - i've added a picture to show where i've tracked it down with your instruction.
Although i've forgotten one thing, how to you add a fresh input to the subVI? or how else do you pull the data in to plot it?
John P.
07-15-2009 04:28 AM
I've made one from cropping the guts out of the surface image
and forming a new VI.
do you think this'll do it, I'm trying to make some data for it now.
John P.
07-15-2009 04:33 AM
It looks like you have the basic idea of this, however I think the W Array needs to be 2D. The help file can be found at C:\Program Files\National Instruments\Shared\MeasurementStudio\Help\cw3dgrph.chm
Regards
JamesC
NIUK and Ireland
It only takes a second to rate an answer 🙂
07-15-2009 04:34 AM
07-15-2009 04:45 AM
It this better?
-see attached.
07-15-2009 04:52 AM
Give this a try, I have wired the W Array also into the true case with the simpleplot
Regards
JamesC
NIUK and Ireland
It only takes a second to rate an answer 🙂