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

Pages: [1] 2 3 ... 8
1
Open Discussion / SOFTWARE UPGRADES ADHMI & VISUAL BASIC
« on: December 29, 2022, 07:42:04 AM »
My PLC is an Allen Bradley 1785 L20E  (PLC 5/20 E) Only one I develop for now ..    I generally do not upgrade software unless there are compelling reasons to do so, - don't  fix what isn't broke ----

There are some non serious quirks in the version of ADHMI I use that the latest version has not resolved so I have not bothered to upgrade.  I am still running 399y BETA 33 because I have not seen a need to upgrade based on what changes have been made (nothing for PLC 5s or the actual HMI ) but I would like to know if there is some reason I should.  I notice there has been no upgrades to ADHMI for nearly 2 years now.  Archie is obviously very busy with his new business projects. Good for Him.


AND ...Although I have occasionally used the latest version of VB,  my development machine defaults to VB 2017.   I have not seen any fixes for the many quirks in 2017 when I use the latest version.

So... are there any critical or notable reasons to upgrade either of these besides the "Stay current mentality for security issues ? Are there any functions in the latest VB that would aid in the development of ADHMI?


2
Open Discussion / BREAK POINT NOT WORKING: OLD PROBLEM
« on: April 07, 2022, 08:10:56 AM »
Archie I found out that the BREAKPOINT not working is an old issue going back as far as 2015. I am surprised it is still an issue using VS 2022 and a new project.
I have followed all the steps to correct it but still no joy.  I will create a new project and start this all over again and see what happens.

I will let you know once I get the breakpoint to work.

3
Open Discussion / Re: PLC ADDRESS VISIBLE
« on: April 03, 2022, 05:30:52 PM »
Archie I must be doing something wrong - it is not stopping = I only have the chart and a datasubscriber to test the popup screen and two buttons on the main form to test the the two things you gave ,me..  and the test popup screen in the application.

Breakpoint seems to be ignored.  In case it matters I am still running 399y BETA 33. Haven't seen anything in latest releases that concerned anything I do.I am using Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.1.3
I have pored over this and don't know what I could be missing, inserting a breakpoint seems pretty straight forward; I am running the app from the debugger so ???????????????????
Yes I feel stupid....   Never seen a program I couldn't break before.  That has to be a new one.


4
Open Discussion / Re: PLC ADDRESS VISIBLE
« on: April 02, 2022, 10:18:46 PM »
Took me a wee bit to figure out how to do that... 
Property Value is set to  "As String".  See image in case I did not do something right.   

5
Open Discussion / Re: PLC ADDRESS VISIBLE
« on: April 02, 2022, 09:09:08 PM »
Correct.. It does not and setting the bit to show it doesn't do anything.

I tried both ways.  TRUE and FALSE and set and reset the bit that is supposed to control the PLC Address visible but nothing happens. Whatever value I enter (TRUE / FALSE)  that is what I get. 


If you set Visible to False then run the application, does the chart no longer show?

6
Open Discussion / CORE VALUE OVERRIDING ?
« on: April 02, 2022, 04:42:07 PM »
Archie it placed the option in the properties but it is having no effect.  Is the "Embedded variable "VISIBLE  TRUE/FALSE" overriding the new code?

 
Code: [Select]
'*****************************************
    '* Property - Address in PLC to Link to
    '*****************************************
    Private m_PLCAddressValueItems As New System.Collections.ObjectModel.ObservableCollection(Of MfgControl.AdvancedHMI.Drivers.PLCAddressItemEx)
    <System.ComponentModel.BrowsableAttribute(True), System.ComponentModel.EditorAttribute(GetType(PLCAddressItemEditor), GetType(System.Drawing.Design.UITypeEditor))>
    <System.ComponentModel.Category("PLC Properties")>
    <System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)>
    Public ReadOnly Property PLCAddressValueItems() As System.Collections.ObjectModel.ObservableCollection(Of MfgControl.AdvancedHMI.Drivers.PLCAddressItemEx)
        Get
            Return m_PLCAddressValueItems
        End Get
    End Property
    Public Property PLCAddressVisible As String
#End Region

7
Open Discussion / Re: PLC ADDRESS VISIBLE
« on: March 29, 2022, 08:02:04 PM »
Archie I have playing with this off and and on all day but this just isn't my bailiwick so I have not figured out where to put that code. Everything I tried produced errors I did not know what to do with.

8
Open Discussion / PLC ADDRESS VISIBLE
« on: March 29, 2022, 07:08:06 AM »
Can this code or something else be added to the Chart with Logging to hide the chart while still allowing it to function?
Code: [Select]
'*****************************************
    '* Property - Address in PLC to Link to
    '*****************************************
    Private InvertVisible As Boolean
    Private m_PLCAddressVisible As String = ""
    <Browsable(True), Category("PLC Properties"), Description("PLCAddress to control the LED visibility."), DefaultValue("")> _
    Public Property PLCAddressVisible() As String
        Get
            Return m_PLCAddressVisible
        End Get
        Set(ByVal value As String)
            If m_PLCAddressVisible <> value Then
                m_PLCAddressVisible = value

                '* When address is changed, re-subscribe to new address
                SubscribeToCommDriver()
            End If
        End Set
    End Property

9
Open Discussion / Live video still supported?
« on: March 25, 2022, 09:52:58 PM »
Is this information still relevant? Any updates before I try to implement it or is there something better???

10
Open Discussion / Re: Pop Up Screens
« on: March 24, 2022, 05:11:00 AM »
Great to see "you Popping up" here Archie , and I didn't even have to write any code :-)   

Thank you! I will try this today hopefully,  DataSubscriber is the control I was looking at but was not sure how to use it. 

Thank you! Have blessed and restful day!David

11
Open Discussion / Pop Up Screens
« on: March 23, 2022, 10:47:34 PM »
Hello all,

This forum has been super dead so I hope one of you former regulars visits from time to time...

I looked through the forum but don't think what I found is what I want - but maybe so I would like some guidance.
I would like to know if there is a way to have a new form/page open as a pop up screen in the middle of the main form when activated by a PLC bit. It will be used to show more information about a particular item such as motor detail, Run time, current etc. rather than putting it all on the motor start stop panel. then have a control to reset the bit.

I currently use bits to display panels and gauges on top of the main form so maybe that is the best or at least sufficient way of doing it. Adding a PLC VISIBLE to a Group BOX like for the Group Panel would help.  Would that be your recommendation to keep doing it that way? Rather not go to a different page, a Pop up would be perfect. I wish I had time to learn VB but I really don't but I don't mind editing and testing.
Thank you.

12
Open Discussion / Chart with Logging, Cannot set MIN/MAX to AUTO . . . .
« on: January 17, 2022, 11:37:09 AM »
Chart with logging properties: Grow / Shrink will not work because:

   Cannot set MIN/MAX to AUTO with data in logging directory.
  Have to clear files or temporarily re-name directory.

13
Open Discussion / MOBILE APP DEV
« on: December 07, 2021, 11:48:32 AM »
Have any of you seen this?
https://visualstudio.microsoft.com/vs/features/mobile-app-development/
What are your thoughts about it for AHMI ?
David

14
Support Questions / Re: Replace all ComComponents
« on: July 07, 2020, 09:32:36 PM »
Thanks Gentleman,... I actually did that shortly after I posted... Sorry to bother you. Works well except when adding some items that are of different type, the option to select the comcomponet is removed from the properties tab. Combining Simple LEDs with other controls for example.

15
Support Questions / Replace all ComComponents
« on: July 07, 2020, 07:09:25 PM »
Is there a way to change all the comcompontes for all items from serial to ethernet in a project  without doing one at a time?

Pages: [1] 2 3 ... 8