05-26-2008 08:57 AM
05-28-2008 02:42 AM
Hi,
This behavior seems a bit strange especially if you installed NI Datasocket. I will try to reproduce your problem and I send you the result as soon as possible. Can you send me your VIs?
05-28-2008 05:29 AM
Hi BenjaminR,
The vi used is attached aa.vi additionaly there is only one shared variable "c13515_value" in a library "chLibrary" deployed to variable engine in PC3.
Yes, but this is realy very strange!
I have some news (not good):
I have an application working for some time ago where there are various clients that connects via Datasocket Read to variables in a variable engine in a network server. This is working for a long time, and now the only machine where this is working is in my machine and in the server itself, all other machines stop to work (even machines with Labview development environment). I really can't undestand this. There are no changes in the application or in the network.
This seams to be the same problem related in this thread: http://forums.ni.com/ni/board/message?board.id=170&thread.id=218603 but as there are no changes in the network itself i supose we can disregard network equipment issues.
05-28-2008 07:35 AM
More news:
When i start the cient program in other computer, the client program in my computer or in the server stops to work also, and only re-start to work a few minutes (let say 5 to 10) after stop the client in the other computer.
During this if i open the variable manager in the server and watch the variables they are in a very strange state: the value is "no value" and the quality is "connecting, disconnected" for all variables.
06-04-2008 09:58 AM
Hi,
Have you try to use OPC server?
Complete the following steps to configure an OPC server to run remotely if you are using DataSocket with an opc URL.
1. Locate and run dcomcnfg.exe.
2. Click the Applications tab.
3. Select the OPC server from the list.
4. Click the Properties button to display the Properties dialog box.
5. Click the Location tab.
6. Remove the checkmark from the Run application on this machine checkbox and place a checkmark in the Run application on the following computer checkbox.
7. Type the name of the remote computer or click the Browse button to navigate to the remote computer.
8. Click the OK button.
9. Click the Default Properties tab and set the following options.
1. Place a checkmark in the Enable Distributed COM on this computer checkbox.
2. Set the Default Authentication Level to Connect.
3. Set the Default Impersonation Level to Identify.
10. Click the Default Security tab.
11. Click the Edit Default button. Make sure that the computer on which you want to launch the OPC server is allowed to access your computer. This is necessary for the remote computer to call the DSC Module on your computer when supplying OPC values.
12. Click the OK button.
06-16-2008 06:27 AM
As you certainly understood I’m not using OPC Server on this connection.
I'm using others OPC server and all works ok.
Of course i can change the connection string to opc:\\192.168.10.25\National Instruments.Variable Engine.1\ChLibrary\c13515_value but the effect is the same. (this also reaches an old question - as far as i now isn't possible to create an OPC Server with Labview 😞 )