Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Brandon

Pages: [1]
1
Support Questions / Re: Can advancedHMI run as a console application?
« on: September 17, 2015, 04:32:47 PM »
Yeah I noticed that it should raise the event without the synchronizing object,  but I never received any events at my on my main thread.
I am unable to set it to "Me" because in a console app, its running in a module, and if I made it a singleton, that creates its own issues.

Your second option does work however, only issue here is that it sends me all the tags whether they changed or not.   But that's not a big deal as I'll track and look for changes myself.  So

Thanks!

Awesome framework by the way!  I'm impressed with its internals.

2
Support Questions / Re: Can advancedHMI run as a console application?
« on: September 17, 2015, 03:50:55 PM »
Hey Archie,

Thanks for the quick response, you were right, for the most part it does work.
The part I am stuck with currently, is getting the DataSubscriber2 class to work properly.  I believe the issue is with the SyncronizingObject which is normally assigned to the main form, I'm not sure how to provide that same behavior using a console. 

Without requiring a full solution, any suggestions that could point me to how to syncronize the events back onto the main thread?

Thanks


3
Support Questions / Can advancedHMI run as a console application?
« on: September 17, 2015, 01:55:30 PM »
Hello,

This may seem like a silly question, but I'm wondering if I can compile an application to run as a console application without a GUI.  Strictly for the purpose of using the datalogger?
I need to be able to log when certain events occur in my PLC,  and I want to run the application on a Raspberry Pi so its small and compact.

I have the application running on a PI currently, but as a graphical application.  Which requires the Linux GUI to be loaded, and since I don't intend to even have a monitor hooked up to this most of the time.  Being able to run it from console right at startup would be more straight forward.

Does your library support that?
Thanks.

Pages: [1]