LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a 32-bit LabWindows CVI program on a 64-bit Windows 10 environment

Solved!
Go to solution

Hello,

 

We have been using a program written on 2010 LabWindows CVI and Windows XP environment. We now getting new computer with Windows 10.

Can we use the same program?

I tried to generate a 64-bit version and build a new release. But I get an error message

saying

"dataskt.h" The LabWindows/CVI DataSocket library is not supported on X64

 

Thanks

 

Bobby

0 Kudos
Message 1 of 7
(5,775 Views)

Hi, 

Considerations for Porting Applications to 64-bit

he following LabWindows/CVI components are not supported in 64-bit applications:

  • DataSocket Library (dataskt.fp), including data binding functionality for user interface controls
  • NI Report generation (nireport.fp)
  • Scroll bar custom control (scroll.fp)
  • Easy tab custom control (easytab.fp)
  • OpenGL control (cviogl.fp)
  • LabVIEW RT board interface control (cvirtsup.fp)
  • 3D Graph control (3dgraphctrl.fp)
  • StartPCSound (toolbox.fp)
  • StopPCSound (toolbox.fp)
  • LabWindows/CVI low-level support driver
  • Functions in the External Modules class in the Utility Library
  • Function panel customization (fpcustom.fp) instrument driver
0 Kudos
Message 2 of 7
(5,744 Views)

Hello Bobby,

before trying a port of your application to 64-bit, which is definitely not a trivial task, have you tried to run it on Win10? In a large number of cases you will be able to run it without problems.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 7
(5,725 Views)

Hello,

I am able to run it from a computer with Windows 7 using the 32 bit application.

So I made a 32-bit distribution disk from there.

 

But when I try to install the distribution disk into a Windows 8, it wont install it.

 

Bobby

 

0 Kudos
Message 4 of 7
(5,688 Views)

Hello,

 

So there is no other libraries like the dataskt.h that I can use?

Do I have to start writing the program all over again?

 

Thanks

 

Bobby

0 Kudos
Message 5 of 7
(5,687 Views)

My hunch here is that the 64 bit vs 32 bit issue is a "red herring".  Like Roberto, I'd say that you should generally not have any issue running 32 bit applications on 64 bit windows. (https://docs.microsoft.com/en-us/windows/desktop/WinProg64/running-32-bit-applications).

 

Before you burn up time trying to port to 64 bit and/or source out alternative libraries, spend the time to build a simple 32 bit "hello world" app in CVI and install it in your Windows 8 and 10 machines. Add in a few key libraries and repeat. There may be some wrinkles due to changes in the Win32 SDK that need to be addressed but they would likely just be due to changes in the windows API that occurred on the progression from Win XP to Vista to 7 to 8 to 10. This forum has quite a few threads that document these wrinkles as they cropped up over the years.

 

Hope this helps!

Message 6 of 7
(5,681 Views)
Solution
Accepted by topic author bobby_y

Hello,

 

I tried it again. I created a 32-bit version distribution disk on a Windows 7 environment. And then installed it on a Windows 8. It worked. I will try Windows 10 next.

 

Thanks

0 Kudos
Message 7 of 7
(5,679 Views)