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.


Topics - boldive

Pages: [1]
1
Feature Request / Libnodave, S7.Net support
« on: October 23, 2018, 11:57:53 AM »
Hello everyone.

This question is in the air for a while. So far there is no Siemens support in AdvancedHMI.
If Libnodave or S7.Net communication libraries are available, what is the chance to integrate them into AdvancedHMI?

Thanks

2
Support Questions / Momentary pushbutton
« on: October 18, 2018, 03:14:27 PM »
Hello,

In my application I use momentary push buttons to control object movement on ControlLogix L30-ERMS.
When I press and hold button (holding with mouse click) on the development computer (where Visual Studio is installed) everything works fine. PLC bit is ON and object moves.
When I copy application on the Windows tablet (Teclast X80 Plus) nothing happen when I press button on the touchscreen. All basic indicators works fine on both PC and tablet. Which means communication driver works and able to talk to PLC.

Button properties have:
MaximumHoldTine: 30000
MinimumHoldTime: 500 
OutputType: MomentarySet

Also, I would like to highlight puschbutton using propertie PLCAddressHighlightX. PLC bit in this field does nothing. Button doesn't change color.

Any ideas what can be wrong?

Thanks.

3
Support Questions / Properties of CircularProgressBar component
« on: October 04, 2018, 06:49:38 PM »
Hello!

How to change font, color and position of Value and ValueSuffix elements?

To let PLC change Minimum and Maximum value I use
Code: [Select]
CircularProgressBar1.Minimum = EthernetIPforCLXCom1.Read("PLC_Tag1")
CircularProgressBar1.Maximum = EthernetIPforCLXCom1.Read("PLC_Tag2")


It works fine. However, if no connection to PLC then Visual Studio generates an error "Exception Unhandled" (No response from PLC).

Any ideas how to handle this error? It is hard to work on design if PLC is offline.

Thanks.

4
Support Questions / Windows Form Template
« on: September 30, 2018, 11:55:22 AM »
To reduce development time I want to use one form as a template.
So, Click on Project => Export Template and follow instructions. All referenced components have been selected to be used in template. May be I don't need to select all of them. Template was created. Now time to use it.
Add => Windows Form and select my template. Error message comes:
https://photos.app.goo.gl/j6GqvEzoXoZsMZRx7



Which elements I need to select to create a template to use it in the project?

Thanks

5
Support Questions / Forms layout with MainMenu Buttons
« on: September 28, 2018, 08:15:02 AM »
Hello everyone. I have started to make an application to replace 10" PanelView Plus. Using VisualStudio 2017 Community Edition on Windows 10 Enterp.
First try is not to use any code. So, simply follow instructions:
- In Solution Explorer, right click the AdvancedHMI project and select Properties
- Under the application tab change the Startup Form to MainMenu

You will now create new forms. Be sure to set the FormBorderStyle to None for all forms. After creating additional forms and Building the project, you can now add menu buttons for them:
- In Solution Explorer, expand down the AdvancedHMI project, then expand down to FormChangeControls\MainMenuDriven
- Double the MainMenu.vb to open in Design View
- From the Toolbox add a MainMenuButton for each new form
- Set the FormToOpen property
- You can also set the OpenOnStartup property for one button to indicate the default startup form

I did. Made MainMenu as a global menu. Zone1 calls submenu (another form just beside MainForm on layout) and few forms with actual information on the screens called from submenu form. As I understood MainMenuButtons work from MainMenu form only. They don't work on other forms. In my case on other forms these buttons don't see my other forms to call. Forms are visible to call from the MainMenu form only.

Compile, build and run it. It works. However it works in weird way.
Main menu form loads. In properties of button Zone1 (MainMenuButton) I call submenu with the flag OpenOnStartup: True.
OpenOnStartup doesn't work. Only MainMenu form is opens on Startup. Well, I click on Zone1 and submenu form loads beside mainmenu form on the right. Exactly how it supposed to be. Not bad. Now it is time to call 3rd form just beside submenu form on the right.
On SubMenu form I use FormChangeButton. Click on it and form with actual information from PLC is opens just beside submenu form on the right. Good! However my submenu form is not visible and I see a gap between MainMenu form and last open form.
Then I made another information form with the same properties and location as first.
Ok, will go further. I call my second information screen from the second MainManuButton on the MainMenu form. It works. Information form opens, but opens just beside MainMenu, not according to coordinates in the properties. Hm... I call second information screen from another FormChangeButton ot the Submenu form and it opens just beside MainMenu form, not according to position coordinates. So, two my information forms have identical properties in location coordinates but their position on the screen is different.

Even more. On the task bar I see every open form as a separate window, not as one application. How to deal with it? Use MDI ?

It seems like MainMenuButton closes all forms except MainMenu form and then opens form on call. What is the right way to manipulate between forms to keep some of them open (submenu for example)?

Also, I have noticed that there is a small problem with form size/scale. For some reason if form size 150x700 pixels on the screen it can be shown with ~95% scale. All my forms in properties have fixes size in pixels with start position flag: manual. AutoScaleMode value is : Inherit.

Project can be downloaded from Google Drive:
https://drive.google.com/file/d/19Z4MppSJ1mU_UZWTels2f-sY1MkGPVos/view?usp=sharing

Thanks

Pages: [1]