LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WRL vs WRL (3d reading)

I have a problem with reading wrl files.
I attached two samples.
One of the standard examples (aircraft). This file is successfully read.
The second is the one that the designer gave me. I need to load several such models into one scene. But when reading this file, I get an error

Error 1088 occurred at Invoke Node in NI_3D Picture Control.lvlib: Load VRML File.vi-> Untitled 1

Possible reason (s):

LabVIEW: Bad value for parameter.

Method Name: Scene: Read Scene File

Can you tell me what the problem is? why the second file does not open?
The designer claims that they differ only in size. Can't LabVIEW really read the 80K file?

 

vi.png

0 Kudos
Message 1 of 6
(2,328 Views)

Hi Artem,

 

mind to attach your WRL files? (Put them into one ZIP container.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,309 Views)

I attached them. Probably the wrong button pressed.
Added.

0 Kudos
Message 3 of 6
(2,293 Views)

Hi Artem,

 

once I put a real path into that empty path constant both WRL files can be loaded and displayed…

 

Side note: using a different tool to display your WRL files the "SampleModel" brings an error message of "} is not expected"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,286 Views)

GerdW,
thanks for the answer.
I am now very, very surprised.
I changed the file extension WRL -> wrl (just small letters, no more differences). And the file opens correctly.
HOW?
LV16 and LV17 the same result.

0 Kudos
Message 5 of 6
(2,279 Views)
Hi, GerdW,
can you test this model?
My LV15 has crushed during open this file.
0 Kudos
Message 6 of 6
(2,234 Views)