Developed a machine code using LV2009 on a WIN_XP notebook and deployed the EXE successfully. ( PCI 6229 + PCI 6518 hardware )
Now I need to change my notebook and I am forced to switch to Windows 7.
I wonder if need to watch out for any traps. Hence forth I will be editing and building the EXE on my Windows 7 ( 32 bit ) notebook and I trust it should run seamlessley on the client's machine which will be on WIN_XP for some more months to come.
I already have read the FAQ on WIN_7 in Developer Zone. But please note that this case is not handled there : I am in a situation where the EXE built on a WIN_7 machine has to run on a WIN_XP.
As long as you use the 32 Bit version of LabVIEW, there should be no problem. The LabVIEW binary files for Windows 7 32 Bit and Windows XP are exactly the same. The major difference in terms of LabVIEW is the more restrictive nature of Windows 7 which prevents you from doing a lot of things without explicit UAC elevation, even in the administrator account. Once you modified your software to comply with that, it will still run on XP. Just watch out to not use hardwired OS paths. Windows 7 changed a lot of the naming conventions but even in XP the windows or system directory doesn't have to be always the same.
For your settings directory (INI files, etc) use the the according LabVIEW constant.
>> As long as you use the 32 Bit version of LabVIEW, there should be no problem.
So what happens if I use the 64 Bit version? am I headed for trouble and do lots of tweaking before I can get it run on a WIN_XP machine ? As per Microsoft, the 64 bit version Win_7 runs the 32 bit applications in a kind of shell like DOS programs under WIN. Not sure on that but eager to know if I can buy a notebook that has WIN_7 Premium 64Bit OS ??
>> For your settings directory (INI files, etc) use the the according LabVIEW constant.
Could you clarify the above please ? Thanks.
The use of the registry (reliably) is out with Vista and 7. There is a trap called Windows Virtualisation. Must now use application data folders.
Link to more info:
I have a problem with the code (Block Diagram), between XP and windows 7. I did the code in a machine with S.O. XP, and it was doing everything very good but when I pass to windows 7 the code dont open, only show a white page (Block Diagram). Why ?
I need traslate to machine with Windows 7. but Labview 2009 dont operate.