Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

plot 4 components on a 3D Graph

Solved!
Go to solution

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.

0 Kudos
Message 1 of 11
(10,361 Views)

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 🙂

0 Kudos
Message 2 of 11
(10,346 Views)

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.

0 Kudos
Message 3 of 11
(10,331 Views)

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 🙂

0 Kudos
Message 4 of 11
(10,319 Views)

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.

 

0 Kudos
Message 5 of 11
(10,317 Views)

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.

Download All
0 Kudos
Message 6 of 11
(10,315 Views)

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 🙂

0 Kudos
Message 7 of 11
(10,312 Views)
dang, yup you right it does need to be 2d.
0 Kudos
Message 8 of 11
(10,310 Views)

It this better?

 

-see attached.

Download All
Message 9 of 11
(10,309 Views)
Solution
Accepted by topic author John Pierson

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 🙂

0 Kudos
Message 10 of 11
(10,307 Views)