Author Topic: Upfrading from olde version (before v3.5) to 3.99t  (Read 1016 times)

Noe

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Upfrading from olde version (before v3.5) to 3.99t
« on: January 20, 2017, 01:32:46 PM »
Hi all. I am woring to migrate an old project based on AHMI 3.27 (I think, someone deleted the reference) to 3.99t as I am having a lot of issues to communicate to a MicroLogix using Net-Eni. Seems that the old version dirver was not working correctly, but current version seems to work just fine.
My question is, when importing the .vb form I now I have to correct all errors before having access to designer mode, but AHMI controls seems to have changed properties, and I am not sure which belongs to which.

These are the properties that are being shown as incorrect:

        Me.status3st.PLCaddressEntry = ""
        Me.status3st.PLCaddressText = "N7:93"
        Me.status3st.PLCaddressVisibility = ""
        Me.status3st.ScaleFactor = New Decimal(New Integer() {1, 0, 0, 0})
        Me.status3st.TextPrefix = Nothing
        Me.status3st.TextSuffix = Nothing

Can I use these new properties? I am really unsure with scalefactor:

PLCaddressEntry = PLCAddressKeypad
PLCaddressText = PLCAddressValue
PLCaddressVisibility = PLCaddressVisible
ScaleFactor = Scale or KeypadScaleFactor
TextPrefix = ValuePrefix
TextSuffix = ValueSuffix

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: Upfrading from olde version (before v3.5) to 3.99t
« Reply #1 on: January 20, 2017, 01:44:33 PM »
Yes, those are the correct property conversions. The ScaleFactor is now ValueScaleFactor on some controls and for keypad entry, it has an independent scaling property of KeypadScaleFactor

Noe

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Upfrading from olde version (before v3.5) to 3.99t
« Reply #2 on: January 20, 2017, 03:09:00 PM »
Thank you very much Archie!