12-08-2006 04:53 PM
12-11-2006 10:19 AM
12-11-2006 04:15 PM
Hi Mert,
Thanks for your reply. The message I got from the Windows installer was:
The feature that you are trying to use is on a CD-ROM or other removable disk that is not available. Insert the ‘NI LabView Run Time Engine 6.0.2’ disk and click OK.
I believe that this problem only occurred if I was logged in under my new username. However I can't go back and check this out because I found the program that the Windows installer was looking for (lvrt.msi) on my hard drive so I browsed the windows installer to the folder that it was in and it installed the software and now it seems to be happy.
I have another problem now that I didn't use to have with Datasockets. I'm not sure if this problem is connected to my previous problem or not. I have 2 LabWindows applications that communicate using the datasockets interface. You can launch either one first and it will start the datasocket server and connect to it. Now however the first application launches the datasocket server but if I look at the datasocket server there are no processes connected to it. If I then start up the second application and look at the datasocket server it will show 1 process connected. If I then shut down the first application, restart it, and examine the datasocket server there are 2 processes connected and everything works fine. I can reverse the order and start the other application first but the first application that attempts to connect always fails and needs to be restarted again after the second application has connected. If I run the first application in the debugger and single step through the call to DS_Open it works fine and the datasocket server shows 1 process connected. If I am not running in the debugger the status returned from DS_Open is 0 indicating that the call worked even though 0 processes are shown connected. Any ideas on what could be wrong?
Thanks,
Jim
12-11-2006 06:19 PM
12-12-2006 08:58 AM
Mert,
Yes, I am using DS_ControlLocalServer to start the DataSocket server. In fact I call it twice once to start it and another time to hide the panel. I think I figured out what the problem is. I commented out the second call to DS_ControlLocalServer so that I could see the DataSocket panel while things are starting up. It seemes that there is a large delay on the order of 5 - 6 seconds while the DataSocket server is resolving the host name "<NewHost>". If I put in a 7 second delay between the call to DS_ControlLocalServer and DS_Open everything works fine. If I set the delay to 6 seconds it fails. I never used to have this issue so I suspect that this has something to do with my new user name although I tried logging in under my old username and I have the same issue. Could this be an issue with a newer version of LabWindows? When I first created these applications I was using LabWindows 6.0 and I am now using 7.1.
Thanks,
Jim
12-12-2006 11:25 AM
12-12-2006 02:35 PM
Mert,
The message that appears on the DataSocket server panel is 'Resolving host name "<NewHost>"'. This appears after the call to DS_ControlLocalServer before I call DS_Open. I'm not passing this as an argument to DS_ControlLocalServer, in fact I have no idea what it means or where it comes from. I ran the DataSocket Server Manager and noticed that under Permission Groups->Creators there were 2 hosts listed: localhost and NewHost. I deleted NewHost, saved the configuration, and now everything is working fine. I can immediately call DS_Open after starting the DataSocket server. The delay is no longer needed.
Thanks for your help,
Jim
12-12-2006 02:43 PM