11-24-2005 01:25 AM
Solved! Go to Solution.
11-24-2005 07:33 AM
11-24-2005 12:47 PM
Hi,
nice to hear from again so soon! Yes, I have tried exactly the sample code you mentioned! In general it does work for me as well, but only with this LabView RTE complication (installer starting) I was reporting about. Do you have any clue what the reason for this could be? Where/why does datasocket require LabView? Thanks :-)...
11-25-2005 07:05 AM
11-28-2005 09:10 AM
Hello,
There is some more information that can help up figure out this problem. Right click on "My Computer" and select Manage. Go to the Event Viewer>>Application log and look for MSIErrors. The error that is most helpful is the one that has a GUID in it and a file path. Can you post the test from those logs?
What is happening is MSI is not finding a file or registry key that was set up as a key component of DataSocket. It then goes and find the first thing that has that file in it to try and repair it, which just so happens to be the LabVIEW Runtime engine. Also, CVI does not depend on the LabVIEW RTE, it is the Example finder Application that CVI uses that is written in LabVIEW nad requires the RTE.
Jeff
NI
11-28-2005 11:33 AM
Hi Jeff,
Thanks a lot for your suggestion which actually solved my problem: It is me to blame, not datasockets...: Here is what I found in the application log (usually I pressed the cancel button...):
1)
Detection of product '{62DBBC58-6C51-4793-BA66-45012F8BA32C}', feature 'DataSocket.LVW71RTE', component '{713943EB-D52A-4905-AAB9-22542176A4B2}' failed. The resource 'C:\Documents and Settings\All Users\Start Menu\Programs\National Instruments\DataSocket\' does not exist.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Detection of product '{62DBBC58-6C51-4793-BA66-45012F8BA32C}', feature 'DataSocket.LVW71RTE' failed during request for component '{C5AE951F-BD96-4818-9B50-985BC02C3148}'
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
3)
Product: NI LabVIEW Run-Time Engine 7.1.1 -- Configuration failed.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
On my system (which is used by students as well) I moved the startup program folder 'National Instrument' from all users to administrator, so indeed Windows can not find the path specified above; I just tried by copying the folder back to 'all users', and then datasocket works nicely. Puh, Thanks a lot! But please let me ask if there is a possibility to change this default search behavior of datasockets so that it will search with a different path? I have some executables the students may use for data acquisition, but I did not want them to play with the source code - that's why I made the changes in the startup folder...