07-23-2010 09:07 AM
hello,
I'm using the create cube vi and create object vi's of the 3d picture control library to create a cube. Is there a way I could append a dot onto a face on the cube? I would just like to select some point on the cube and have a dot there that I can see and that will rotate with the cube.
also, does anyone know any good references or sites for information on drawing with labview? I'm having a hard time finding info on the 3d picture control tool-kit.. the stuff I've found on the NI site seems very limited
thanks!
Solved! Go to Solution.
07-23-2010 12:07 PM
I created a cylinder with a very small height. See the attached VI.
07-23-2010 12:30 PM
One problem with that example is that you are constantly adding new objects, so the memory is going to grow until you crash.
07-23-2010 12:39 PM
Good catch! My mistake....
07-23-2010 02:35 PM
thanks!
what's the mistake? I gotta take something out of the while loop? works with everything in, what should be out?
07-23-2010 02:41 PM
The add objects should not be in a while loop. Otherwise you are adding new blocks and new cylinders over and over and over again. Show the performance monitor in task manager and you'll see your LabVIEW memory growing continually.
07-26-2010 11:52 AM
Hello,
I'm following up on this post, because I'm trying to figure out what I need to take out of my while loop, I know it was mentioned that I need to take out the add object, but I'm having a hard time figuring out how to remove the things from the while loop thats causing my memory to fill up. I'm including my code
much thanks