LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create an application containing CWGraph3d with LV7.11

Hi all,

 

can anyone provide an step-by-step instruction on how to  create an application containing CWGraph3d with LV7.11? I have extensively searched the forums and tried to follow what I have found but with no success.

I have created a quite simple VI that takes some simple 2D data and plots a contour diagram from it. It was derived from '3D Surface Example - Fluctuating Sine Wave.vi' ant literally took me some 5 minutes to finish. Even the build app on my machinesimply ran fine.

But on a colleagues machine it installed fine, but missed the CWGraph3d.ocx and later had some versioning problems. I am at end here. Can anyone help me out with such an instruction? Or can LabVIEW 7.11 simply not do this?

 

Disapointed...

 

Greetings from Germany!
--
Uwe

0 Kudos
Message 1 of 4
(2,599 Views)

Did you build an application, or an installer? Have you looked over this document:

 

What Are Some Advanced Abilities of the LabVIEW Application Builder?

0 Kudos
Message 2 of 4
(2,597 Views)

Smercurio,

 

I have read, understand and followed the referenced doc, at least I believe so.

I did both, building an app AND an installer, as the colleague does not have LabVIEW. And I am quite familiar with apps and installers, as I have built a bunch of them for our production floor. Those did, however, not contain Active-X controls...

On my machine it worked just fine, App & installer have been successfully created and the exe runs fine. The installer run fine on the target machine, but the exe does not.

I have now created a virtual machine with a 'naked' XP, and in this VM the exe does'nt run as well. Seems to have to do with the ActiveX. I hav found a 'cw3dgrph.dep' on my machines C:\WINDOWS\system32 dir and have included the dlls as mentioned there as dynamic or support files in the AppBuilders 'Source files' tab. I have also marked 'Run executable after installation' in 'advanced installer settings' and have named 'reg32.exe' as executable and 'c:\windows\system32\cw3dgraph.ocx' as command line argument. I have also included the LV Runtime, '3D Graph Support' and 'Analyze VIs Support'. There is nothing more I can imagine.

Any ideas?

Greetings from Germany!
--
Uwe

0 Kudos
Message 3 of 4
(2,592 Views)

An update:

 

I have done some testing on this, but have to stop it for now. Maybe later...

It looks like it is a problem registering the ocx and the dependend dlls. Have found some threads on this forum.

My VirtualBox as a test vehicle stopped working after an  update of the naked XP to SP2, but before it had much older versions of the dependend dlls on it. I wanted to check if the dlls are updated by the SP2 or if they came from NI.

Anyway, it might take several weeks until I am able to continue exploring this behaviour.

I'd prefer if NI could provide a cookbook with all the background and steps to get this stuff running - not only in LV, but also in installed apps!

Greetings from Germany!
--
Uwe

0 Kudos
Message 4 of 4
(2,562 Views)