.NET API and subscribing

Discussion created by jonhcw on Jan 2, 2013



I'm trying to get my probe to subscribe to alarms. I'm writing it in C# and using the latest .NET API.


I'm using code example for probe from code wizard and code example for subscribing from the API documentation.

As soon as I do:

Subscribe subscriber = new Subscribe("/Dev/Main/fihkinim01/hub");

 it stops working. Threads that are running parallel (for example those registered on timer) will continue running, but eventually it will crash the probe and it will restart. Unfortunately I'm unable to get anything logged from this (have tried though :smileytongue:)


Does anyone have any experience with the .net api and subscribing?