LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LoadLibrary error 126 for 3D plots

I'm getting LoadLibrary error 126 when using 3d plots. Everything worked last week and I had a working VI with a 3D waterfall plot. Just opening that VI now crashes LabVIEW with no crash dialog. Trying to add a 3d plot to a blank VI also crashes it.

 

I get the same error trying to see the 3D picture palette, but that doesn't cause a crash.

 

I tried something with "system file checker" recommended for another 3d program, but that didn't solve the problem.

0 Kudos
Message 1 of 2
(1,540 Views)

I solved this by opening device manager, expanding display adapters, and disabling the AMD graphics display adapter, but leaving the Nvidia adapter enabled. I opened LabVIEW and my VI opened again. Then I closed LabVIEW, reenabled the AMD display adapter, reopened LabVIEW, and things still worked. This seems to be related to the OpenGL library not playing nice with AMD.

 

YMMV. I am just waiting for this to happen again unfortunately. But hopefully that gets you over the hump or helps someone else in the future.

Message 2 of 2
(1,411 Views)