Frequently Asked Question
Logging OPC Diagnostics
Last Updated 9 years ago
Instructions to enable logging diagnostic messages from Split-Online.
1. Stop Split-Online and the Split-Online OPC Service if it is running. To prevent the service from starting at the request of a remote OPC client, you may need to unplug the computer from the network.
2. Open the Split-Online properties XML file. It should be in the public documents folder, something like this:
C:\Users\Public\Documents\SplitOnline40.xml
3. Search for this block (or something very similar):
<Key Name="SplitOPC">
<Value Name="InstallDir" Type="string">C:\Program Files\Split Engineering\SplitOnline0.0</Value>
<Value Name="InstallSP" Type="string">0</Value>
<Value Name="InstallVersion" Type="string">0.0</Value>
<Value Name="Logfile" Type="string"></Value>
</Key>
4. On the line with Value Name="Logfile", provide the name of an existing directory, like this:
<Value Name="Logfile" Type="string">C:\SplitData\OPC_Log</Value>
In this case, the folder C:\SplitData\OPC_Log must exist before the next steps.
5. Save the XML file.
6. Allow OPC clients to connect to the Split-Online OPC server. Restore the network if it was unplugged.
7. In the folder given in step 4. you should see two new files created as soon as the OPC server starts (as soon as an OPC client connects): The file SplitOPC.txt contains diagnostics generated from our part of the OPC server, and the file SoftingOPC.txt contains diagnostics generated from Softing's part of the server. Generally SplitOPC.txt contains the usefull information.
8. Don't forget to disable the logging when you're done. These files can get very large!
1. Stop Split-Online and the Split-Online OPC Service if it is running. To prevent the service from starting at the request of a remote OPC client, you may need to unplug the computer from the network.
2. Open the Split-Online properties XML file. It should be in the public documents folder, something like this:
C:\Users\Public\Documents\SplitOnline40.xml
3. Search for this block (or something very similar):
<Key Name="SplitOPC">
<Value Name="InstallDir" Type="string">C:\Program Files\Split Engineering\SplitOnline0.0</Value>
<Value Name="InstallSP" Type="string">0</Value>
<Value Name="InstallVersion" Type="string">0.0</Value>
<Value Name="Logfile" Type="string"></Value>
</Key>
4. On the line with Value Name="Logfile", provide the name of an existing directory, like this:
<Value Name="Logfile" Type="string">C:\SplitData\OPC_Log</Value>
In this case, the folder C:\SplitData\OPC_Log must exist before the next steps.
5. Save the XML file.
6. Allow OPC clients to connect to the Split-Online OPC server. Restore the network if it was unplugged.
7. In the folder given in step 4. you should see two new files created as soon as the OPC server starts (as soon as an OPC client connects): The file SplitOPC.txt contains diagnostics generated from our part of the OPC server, and the file SoftingOPC.txt contains diagnostics generated from Softing's part of the server. Generally SplitOPC.txt contains the usefull information.
8. Don't forget to disable the logging when you're done. These files can get very large!