All --
I'm trying to make the right decision on subscribing to a bunch of random data from a single PLC. I wish to get some Floats, Ints, Bits, and other various data from various tags then process them in my application.
That said, since none of the data is sequential, what is the recommendation for gathering up this host of random data?
A) Create a series of _PLCController.Subscribe(...) items and then process each "bit" of data as it comes in?
B) Create a single DataSubscriber2 and then parse the incoming data to determine which function / sub to call based on the incoming address?
I'm using WPF and am doing all the data processing without going through the AHMI controls.
My gut tells me the DataSubscriber2 method is probably preferred, however, if that is the case, I am not 100% certain on how to set it up. When using WinForms, you give it the ComComponent in the properties windows, however, when I try to do this via code in the WPF, I get an error about needing to have System.Windows.Forms referenced, even though it already is.
Any words of wisdom would be greatly appreciated.