ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mathscript 64Bit

Solved!
Go to solution

Hi,

I would like to migrate my 3D-heavy LabView 8.6 application to Windows7 64-Bit.

MathScript doesn't appear in the 64Bit LabView version.

Do you believe the best way to proceed is to include my 2 only needed MathScript functions as dll created in 8.6?

Thanks

  Jannis

0 Kudos
Message 1 of 5
(5,337 Views)
Solution
Accepted by topic author Jannis

Jannis,

 

MathScript currently isn't supported in Labview 64-bit. Also, I don't think you'll be able to get away with creating a DLL since DLLs compiled in a 32-bit OS cannot be called from a 64-bit OS. What you may want to take a look at is using ActiveX to communicate with a 32-bit EXE from a 64-bit operating system. Take a look at the following KB on how to build an EXE with ActiveX functionality: How Do I Launch a LabVIEW Executable Remotely Using ActiveX/DCOM?

Hope this helps. 

 

Misha
Message 2 of 5
(5,317 Views)

Thanks for the reply Misha!

 

I was actually hoping to have my self made MathScript.dll running on the WOW 32emulation layer. Why should that not be accessible from the LV-64Bit runtime?

Since I have to call the MathScript Delaunay function quite a lot in my 3D-Mesh reduction application I fear, that the ActiveX pipeline might be far to slow for a reasonable processing time.

 

Anyway I'm not even able to call my self made dll in a pure 32-Bit environment. I seem to be running into similar problems like BenSanchez on the "Missing header files when importing a shared library with labview 8.6? " thread.

Any (useful) demo out there to explain how to do it, or give some help to Ben and me?

 

(How do you quote other threads?

Thanks

  Jannis

0 Kudos
Message 3 of 5
(5,307 Views)

And Misha was right!

I finally managed to link my self made LV.dll to my 32-Bit application.

Not so from the 64-Bit system. See image

NotValidLibrary.png

So, now let's learn how to write an ActiveX-application and see how fast that communication can be...

Or maybe NI is so kind on us to port MathScript to the 64-Bit century!

(And no thanks to NI for starting to charge extra for MathScript!)

 

Jannis

0 Kudos
Message 4 of 5
(5,291 Views)

Seems I'm talking a bit to myself here. Anyway:

The Kudo goes to Misha!

Yes, calling a self written application in LV8.61 on the 86 layer via ActiveX from the LV2009 64Bit layer works. Now I can call the MathScript routines which are not supported under LabView 64-Bit.

Unfortunately that brings the computing speed down by an estimated two-third compared to the same machine running a 32-Bit exe on the Windows7 64-Bit.

Not sure if I can present that to the customer, but it feels good having tried!

Jannis

0 Kudos
Message 5 of 5
(5,266 Views)