10-01-2008 09:37 AM
Dear Mr van Zuilekom,
Thank you for your respond.
The 8.5 code works, so the suggestion is to create a DLL from the part what doesn't work in 8.6. You are able to call the DLL from your Labvie 8.6 VI, please refer to the upper part from the following knowledge base , I hope this will work until the issue has been resolved.
Best regards,
10-01-2008 05:54 PM
This was reported to R&D (CAR # 125788) for further investigation.
Roy
10-16-2008 07:04 AM
hello,
i tried to create a shared library on LV 8.5 and to call it in LV 8.6. however it does not work for to open a vrml file.
i have prospected further to found the limits:
1) i am able to share a simple shared library - void fonction(int a, int* b, string c) - between 8.5 and 8.6. it works well.
2) i am NOT able to share a shared library with a pointer on a path - void fonction(path* p) - as argument of the fonction. LV 8.6 crashed.
3) however, i am able to use the function described in 2) when it was created on 8.5 and called on 8.5. it works also when it was created on 8.6 and called on 8.6.
for information, i run this on a mac intel. (shared library are frameworks, not dll)
any solution? or do i have to wait until the next release?
regards
d
10-30-2008 11:18 AM
I attached a VI showing an example of how to reach your objects with the new VRML loader. The VRML loader preserves the groups/nodes/transforms from your VRML file and constructs them into a scenegraph tree. So there are basically two ways to get to what you want.
1. You can walk down the scenegraph using get object to find what you are looking for, this can vary based on how your VRML file is structured.
2. You can name your shapes in your VRML file, and use Find Object to return a reference directly to them.
The VI shows both ways of going about it, and the .wrl file has examples of how to name shapes. Basically DEF <name> Shape{}.
10-31-2008 02:33 AM
hello,
thank you for this information and the solutions. it works well for me.
regards
d
04-05-2009 10:05 AM
Im using LabVIEW 8.6 and the example attached works fine. I have a VRML file I wish to get the vertices of so I can scale the model into my 3D Scene (I know that real world dimensions so I can effectively normalize the dimensions).
After I load my VRML file into a Scene Object I try to cast it to a SceneMesh. Is there anyway of finding out how many objects are within a VRML file or is this irrelevant to my issue?
Any help woul dbe appreacited, my code and file are attached.
Tom P.
04-10-2009 09:01 AM
Sorry here is my attachment