LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vista compatibility

I sell a "shrink wrap" application developed with Labview 7.1 on Windows XP.  The application uses no device drivers, no system calls, nothing at all out of the ordinary.  It could have been coded in Visual Basic or any of a number of programming languages.  I chose Labview because of its relative platform independence (it also runs on Macs) and excellent math library.

 

It has recently come to my attention that when a user tries to run the application on a Vista system it aborts immediately.

 

This is a major problem.  I have about 1,000 users out there.  Since most of them bought the product through university bookstores or from a publisher, I don't even know who they are. Furthermore, I have a publisher with several thousand shrink wrap disks in inventory.

 

As you can see, this is an economic catastrophe of major proportions.  (Well, It isn't exactly Fannie Mae, so perhaps I exaggerate). 

 

So other than expressions of sympathy can someone tell me if he has confronted a similar situation and how he dealt with it?  And does someone knows of a magic Vista setting which suddenly makes applications compatible? 

 

And please don't tell me to upgrade to the latest version of Labview:  that will have no effect at all on my customers who do not have Labview and furthermore haven't even heard of Labview. 

 

Thanks,

 

David 

0 Kudos
Message 1 of 10
(4,343 Views)

I have had a relativly smooth change to vista.  There are a few things that I have found to be problematic, mostly due to where you are writing to the file system (In XP and earlier you had free range on file io).  If it is a file io error the application would generate an error cluster and this should be caught by your application idealy so you can handle it.  Do you have good error handling in your application?   There are a few compatibility work arounds (not exactly a magic bullet but does help sometimes) which are "run as administrator" in vista rightclick menue from youe executable and set the .exe property compatability tab to run in compatability mode.  Any error messages on the source of the application quiting?

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 2 of 10
(4,335 Views)

Paul,  Thanks a lot.

 

I agree that this is most likely a file I/O problem.  I have a "play date" with a friend who has a Vista machine for Sunday and I'll let you know how things turn out.

 

David

 

0 Kudos
Message 3 of 10
(4,324 Views)

I also have an app develop with 7.1.1 on Win XP. This app also needs only LV basic functions and VIs. There is no installation needed it runs with just all the files in the proper locations.

 

This app is distributed  to about 400 people using them under Win 98 to Vista. The program makes read access in the registry to HKEY_CLASSES_ROOT and file I/O in an folder which the user must have full access anyway.

 

Users using Vista reported me that it will work with setting the compabilitiy in Vista to Win XP.

 

I guess to look at the compabilitiy, registry functions and the file IO locations.  

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 4 of 10
(4,282 Views)

David Lieberman wrote:

And please don't tell me to upgrade to the latest version of Labview:  that will have no effect at all on my customers who do not have Labview and furthermore haven't even heard of Labview. 


I'm not sure I really understand this comment. If you're distributing a "shrink wrap" application then the users need the LabVIEW Run-Time Engine. This is a fact. Doesn't your installer install the Run-Time Engine? If not, then the user would need to install it themselves. Thus, what difference does it make whether or not you upgrade, since the installer will install the Run-Time Engine that's required for the version of LabVIEW that you developed in.

 

All in all, even though you don't want to hear it, you should upgrade. Smiley Wink

Message 5 of 10
(4,278 Views)

smercurio_fc wrote:

David Lieberman wrote:

And please don't tell me to upgrade to the latest version of Labview:  that will have no effect at all on my customers who do not have Labview and furthermore haven't even heard of Labview. 


I'm not sure I really understand this comment. If you're distributing a "shrink wrap" application then the users need the LabVIEW Run-Time Engine. This is a fact. Doesn't your installer install the Run-Time Engine? If not, then the user would need to install it themselves. Thus, what difference does it make whether or not you upgrade, since the installer will install the Run-Time Engine that's required for the version of LabVIEW that you developed in.

 

All in all, even though you don't want to hear it, you should upgrade. Smiley Wink


Actually, we don't have an installer. The program runs directly from the production CD which indeed has the Labview runtime. It is a "lightweight" application which leaves nothing on the user's system. Put in the CD. Run the program. Take out the CD. Goodbye. You say "what difference does it make whether or not you upgrade..." Exactly. Then you say I should upgrade. So what is the logical link between those two statements? David
0 Kudos
Message 6 of 10
(4,261 Views)
Waldemar and Paul,

Thanks for your help.

I got ahold of a Vista system this afternoon.

I verified that the program doesn't run from the distribution CD. But when I copied the executable directly from my XP development system to the Vista system it ran without a hitch.

The problem seems to be that our distributor added some copy protection software (called "Hexalock") to our program which prevents the program from running unless the CD is present in the drive. This software seems to be incompatible with Vista.

This does not solve our problem (user's who upgrade their OS to Vista are going to be furious with us) but at least we know the cause and can put in place some operational procedures to help them out.

Thanks again,

David
0 Kudos
Message 7 of 10
(4,260 Views)

Dear David,

 

I have found the following information about Hexalock and Vista on the company website.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 8 of 10
(4,191 Views)

Great!  That's the first place I should have looked but the Hexalock possibility slipped my mind since it was done three years ago.

 

Thanks so much.

 

David

 

P.S.  A naive question;  how do you rate an answer.  The instructions say that you click on a link at the bottom of the message but I don't see a link.

 

0 Kudos
Message 9 of 10
(4,143 Views)

You'll need a few more posts (I think you need 50 of them) before you can rate answers.

This was introduced to minimize misuse of the rating system.

 

Daniel

 

Message 10 of 10
(4,128 Views)