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 - Zinopower

Pages: [1]
1
Support Questions / Re: Font Size for Gauge ?
« on: February 29, 2016, 06:36:46 PM »
Great info!  I followed along and was able to get the AquaGauge working. I also found a neat one on here that you did on using the animated picture box, and a png.  got that working too.   Now I just have to figure out how to edit the code for the aquagauge to change the font on that one.

2
Support Questions / Font Size for Gauge ?
« on: February 28, 2016, 02:13:48 PM »
On the Gauge control, changing the font size properties changes the font side for the gauge name text.  Is there a way to change the font size of the actual number graduations for the gauge??

3
Support Questions / Re: Best way to start a new solution/project..
« on: February 28, 2016, 11:31:20 AM »
Ok great, that will work.  Thanks Archie

4
Support Questions / Best way to start a new solution/project..
« on: February 28, 2016, 12:02:03 AM »
Ok, definitely starting to get the hang of the program... But, one thing that has me troubled, is how to start a brand new project that leaves the previous project un-molested??... I've found the associations and references go all the way back to the AdvancedHMI folder I originally used... The "Save solution As" I thought was the answer, but it seems to reference back to the original folder...  I've corrupted older projects making new ones, ruined new ones editing old ones..... Having a hard time trying to understand how visual studio manages all these files....

If I want to have totally independent solutions, how do I go about doing that??


5
Support Questions / Re: So very lost...
« on: February 22, 2016, 12:51:09 AM »
Ok, got it working!!!!  Had to setup dcom permissions.
Now to learn about visual studio a bit more....

Thanks Archie!!!

Kevin

6
Support Questions / Re: So very lost...
« on: February 21, 2016, 10:42:48 PM »
Thank you Archie!!!! That is reassuring. 

OK, so what I now think is going on, is that the initial read is fine, and I am having DCOM issues with the callbacks....

Using Siemens S7-200 PLC, so no driver.. have to use OPC....

I did run the Matrikon OPC server simulator, and using that, the meter and the gauges are updating great... So I guess I have to figure out DCOM permissions... Which, many years ago, I got into on another application, and I wanted to gouge both my eyeballs out with a rusty ice-pick.....

Perhaps there is a way to do synchronous reads instead of asynchronous and avoid the DCOM callback issues???

7
Support Questions / So very lost...
« on: February 21, 2016, 06:10:22 PM »
OK, where to begin... First off, long time PLC programmer, first time Visual STudio user.  To say that I am completely overwhelmed by visual studio 2015 is an understatement.  I'm beyond lost.. Holy cow, this is more of a program that I thought.. After taking well over 1 hour and 8 Gigs just to install the program, I am now left utterly lost.  "Solution view"... "team explorer", "Class view", "any cpu", "build solution", "rebuild solution", "add module", "add class", "step into", "step over".. and it goes on and on and on.  I honestly don't have a clue of 1% of this program and.....

So first question, is there a good site, or youtube video training module, where I can get a grasp of the overall visual studio 2015 suite??

Now my other questions are more closer to home for this group... I have several PLC's and a running OPC server.  I've got AHMI installed, and used the quick start to get a simple hmi screen built, with a gauge, and used the OPCDAcom driver, and after many hours finally have it 'talking' to my OPC server.  After working through the signtool.exe missing problem, I now am able to compile it and run it.  It will connect to the OPC server, and it does get the data value for the tag I selected. BUT it seems to have a very very slow update rate, if at all.  The gauge will display the value of the tag when I first run it, and then never seems to update.   Using Matrikon OPC explorer, I can see the value of this tag bouncing around changing every second, but my gauge in AHMI never moves after it first runs...   Almost like its not polling the OPC server for new data ??  Like its a one-shot read??  I've tried to look for settings like "polling rate" "Update rate" etc, to no avail ????

Secondly, Im trying to understand what "synchronizing object" means in the OPCDAcom properties is...  If I dont have it set to the gauge I built, I get no data. But when I add a second gauge, what do I do then?? Do I have to drag another OPCDAcom into the project for each and every gauge, meter etc??

So very glad to have found this program, and looking forward to working with it, but wow, I guess I'm way behind the times...

Pages: [1]