Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

2nd SubscribeDataChange calls freeze

  • phil56
  • Topic Author
  • Visitor
  • Visitor
11 Jan 2018 07:37 #5851 by phil56
Replied by phil56 on topic 2nd SubscribeDataChange calls freeze
Hi,

Thank you, it's good with this new version (5.52.0.4 ).

I restart my tests.

Regards.

Please Log in or Create an account to join the conversation.

More
09 Jan 2018 17:30 #5839 by support
Oh, you are absolutely right, I was able to reproduce the issue. Thank you for reporting it.

Can you please download a new build of 2018.2 preview version - from the same URL (it should report itself as 5.52.0.4 or later on the 1st page of the installation wizard), rebuild, and retest?

Best regards
The following user(s) said Thank You: phil56

Please Log in or Create an account to join the conversation.

  • phil56
  • Topic Author
  • Visitor
  • Visitor
08 Jan 2018 09:37 #5821 by phil56
Replied by phil56 on topic 2nd SubscribeDataChange calls freeze
Hi,

I did the test with a new console application (QuickOpc 5.52) and OPC Fondation UA Sample Server

Same problem
Sans indicateur		0	0	Thread inconnu	[Thread détruit]		
Sans indicateur		4564	0	Thread de travail	<Aucun nom>		Normale
Sans indicateur		12772	3	Thread de travail	<Aucun nom>		Normale
Sans indicateur		5984	6	Thread de travail	<Aucun nom>		Normale
Sans indicateur		19072	7	Thread de travail	vshost.RunParkingWindow	Microsoft.VisualStudio.HostingProcess.Utilities.dll!Microsoft.VisualStudio.HostingProcess.HostProc.WaitForThreadExit	Normale
 	 	 	 	 	 	[Code externe]	 
 
Sans indicateur		13400	8	Thread de travail	.NET SystemEvents	System.dll!Microsoft.Win32.SystemEvents.WindowThreadProc	Normale
 	 	 	 	 	 	[Code externe]	 
 
Sans indicateur	>	13532	9	Thread principal	Thread principal	OpcLabs.BaseLib.dll!OpcLabs.BaseLib.Threading.MonitorLock.MonitorLock	Normale
 	 	 	 	 	 	[Code externe]	 
 	 	 	 	 	 	TestPbOpcUA.exe!TestPbOpcUA.Program.Main(string[] args) Ligne 34	 
 	 	 	 	 	 	[Code externe]	 
 
Sans indicateur		9312	12	Thread de travail	Thread de travail	OpcLabs.EasyOpcUA.dll!OpcLabs.EasyOpc.UA.Toolkit.UAClientEngineBase.TryGetConnectedEngineRecord	Normale
 	 	 	 	 	 	[Code externe]	 
 
Sans indicateur		0	0	Thread inconnu	[Thread détruit]		
Sans indicateur		0	0	Thread inconnu	[Thread détruit]		
Sans indicateur		0	0	Thread inconnu	[Thread détruit]		
Sans indicateur		10424	10	Thread de travail	<Aucun nom>	OpcLabs.BaseLib.dll!OpcLabs.BaseLib.Threading.PeriodicWorker.Process	Normale
 	 	 	 	 	 	[Code externe]	 
 
Sans indicateur		20840	11	Thread de travail	<Aucun nom>	OpcLabs.EasyOpcUA.dll!OpcLabs.EasyOpc.UA.Toolkit.UASmartEngine.RemoveAndDisposeUnusedSessions	Normale
 	 	 	 	 	 	[Code externe]	 
 

Apparently main thread hang in OpcLabs.BaseLib.Threading.MonitorLock.MonitorLock !!

Regards.

vs project :

File Attachment:

File Name: TestPbOpcUA.zip
File Size:4 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
05 Jan 2018 07:54 #5810 by support
I suppose you have re-built your program after installation of new QuickOPC, right?

If so, I cannot tell more without actually going deeper into analyzing the hang. Can you please follow the steps described here?: kb.opclabs.com/Troubleshooting_program_hangs

Thank you

Please Log in or Create an account to join the conversation.

  • phil56
  • Topic Author
  • Visitor
  • Visitor
04 Jan 2018 07:59 #5805 by phil56
Replied by phil56 on topic 2nd SubscribeDataChange calls freeze
Hi,

unfortunately I have the same thing with this alpha version.

I did the test with different assembly versions, results :

QuickOpc 5.40 : OK
QuickOpc 5.50 : OK
QuickOpc 5.51 : KO
QuickOpc 5.52 (alpha) : KO

Regards.

Please Log in or Create an account to join the conversation.

More
03 Jan 2018 07:53 #5790 by support
The 2018.1 version is likely to be released in March 2018.

I will send you a link to an alpha version to the email you used to register with these forums.

Best regards

Please Log in or Create an account to join the conversation.

  • phil56
  • Topic Author
  • Visitor
  • Visitor
02 Jan 2018 07:35 #5784 by phil56
Replied by phil56 on topic 2nd SubscribeDataChange calls freeze
Hello,

yes I am interested by the alpha version.

A date for the 2018.1 version ?

Regards

Please Log in or Create an account to join the conversation.

More
01 Jan 2018 14:58 #5783 by support
This should not be happening, but we have seen it recently in other situation too. If it is the same thing, we have a fix already, but it will only be available to the public in the upcoming version (2018.1).

If you are interested, I can send you an alpha version for private testing. Let me know.

Please Log in or Create an account to join the conversation.

  • phil56
  • Topic Author
  • Visitor
  • Visitor
29 Dec 2017 07:34 #5778 by phil56
Replied by phil56 on topic 2nd SubscribeDataChange calls freeze
Hello,

this is just a test case
private void Client_DataChangeNotification([JetBrains.Annotations.NotNull] object sender, [JetBrains.Annotations.NotNull] OpcLabs.EasyOpc.UA.OperationModel.EasyUADataChangeNotificationEventArgs e)
        {
            Console.WriteLine("Nouvelle valeur {0} : {1}", e.Arguments.NodeDescriptor.NodeId, e.AttributeData.Value);
        }

Regards

Please Log in or Create an account to join the conversation.

More
29 Dec 2017 07:03 #5777 by support
Hello,

can you post the event handler code too?

Regards

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.079 seconds