LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scene display

Hi,
 
In the solarsystem example in labview 8.2 is it possible to view the X and Y axis. If not how would you view the axis of a 3-D shape using the shapes that are available in labview 8.2 
 
THANKS
 
 
0 Kudos
Message 1 of 8
(4,235 Views)

Hi,

  unfortunately, that particular example is using a scene window (derived from part of the application class).

This would mean you would need to "draw in" your own axis to show them. I'd suggest using the cylinder with a small radius, and then transform them into place relative to the origin point you want to work with, and attach the objects to the sun transform so they stay linked regardless of the actual camera angle / position.

If you decided to use a 3D-Graph instead, then of course that has axis you can make visible / invisible, but you'd need the mathematical representation of the image you're showing in 3D to make this viable.

Hope that helps

Thanks

Sacha Emery
National Instruments (UK)

// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 8
(4,208 Views)

Hi,

  here's the modifed code too.

Another suggestion from AdamB is to use a box instead of the cylinder, and then you just need to setup the x size, y size or z size, rather than rotate the cylinders to give the correct orientation. (Using cylinders allows you to make "planes" instead that can be set to the orbits if you need)

Hope that helps

Thanks

Sacha Emery
National Instruments (UK)

// it takes almost no time to rate an answer Smiley Wink
Message 3 of 8
(4,205 Views)

Hi Sacha Emery

If you wanted to put numbers on the axis could that be done, and do you know any good books or tutorials that help to undrstand the picture control part of labview. Again thanks for the help

Jim 

0 Kudos
Message 4 of 8
(4,195 Views)

Hi,

  you could import multiple ASE, STL or VRML file which has the numbers in and then position them on the line appropriately. Alternatively, use a cube object, and texturise it with a jpg with the number in (you'll have to trial and error it for exactly where and how it wraps, so you can always see the number correctly as you rotate the camera position).

In terms of using the picture control, there's not much to it. Just the functions on the pictures palette. Try going to ni.com and typing "picture control" in the search box at the top of the window, and hit the Go button and that should give you all the information you need since it also includes the LabVIEW help pages in that search.

Hope that helps

Thanks

Sacha Emery
National Instruments (UK)

 

// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 5 of 8
(4,169 Views)

Alternatively you could try here: -

"This thread can serve for discusion of the LV Picture control and how it can be used or abused."

http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14

Where one of the LabVIEW gurus 'BEN' launched a rather usefull collection of articles, information and examples.

 

Message 6 of 8
(4,158 Views)

good afternoon, I am new using LabView, a need help to do a vi. I want to rotate an image 360 degrees but I don´t know how do ti, in special the blockdiagram.

append the image.

 

 

Compass Card - copia.png

0 Kudos
Message 7 of 8
(3,474 Views)

Hi,

  I haven't used this form for some time.

 

Do try the link posted by myself though. As I recall it has an example that should suit your needs nicely.

 

Good luck with your project.

0 Kudos
Message 8 of 8
(3,435 Views)