Announcement

Collapse
No announcement yet.

Bug when using Internal LedDigits with Int32 (ViSi Genie)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ESPsupport
    replied
    Interraction between the two due to code not checking which type of object it was checking some bits on. The line in the readme reads

    Fixed Genie with Internal LedDigits using Int32 or Float options and any other Internal or Inherent may cause incorrect output.

    Leave a comment:


  • DirkS
    replied
    Thank You, now it seems to work very well.

    Was it finally an issue of Inherent Media Button or ILedDigits ?

    Dirk

    Leave a comment:


  • ESPsupport
    replied
    Ahh, I can see it now, sorry it took so long.

    Please replace the file in C:\Program Files (x86)\4D Labs\4D Workshop 4 IDE\Genie\DIABLO with the attached

    Leave a comment:


  • DirkS
    replied
    Current PmmC 'Diablo16' version '24'
    Current Driver 'Gen4-uLCD-43DCT-CLB-A' dated '19/03/20'
    Driver is up to date
    PmmC is up to date


    Workshop version is 4.6.0.39

    The buttons navigate forth and back, Nothing is send with GTX.

    Sincerely,
    Dirk
    Last edited by DirkS; 26 January 2021, 05:41 AM.

    Leave a comment:


  • ESPsupport
    replied
    We can't seem to recreate this.

    Could you tell us the PmmC and Workshop version you are using, the error produced and a log of just what was sent, assuming you are using GTX, or the commands if not using GTX?

    Leave a comment:


  • DirkS
    replied
    Thank You for your response.

    For me it seems as an issue with the additional data (32 bit instead 16 bit) required for the ILedDigits and that this overrides data structures of other items.

    Sincerely,
    Dirk

    Leave a comment:


  • Sep
    replied
    Good day!

    We noticed the issue with your project is when using an Inherent Media Button. We came to this conclusion by replacing your buttons with Internal Buttons instead.

    We will be investigating the issue and get back to you when the problem is solved.

    Best Regards

    Leave a comment:


  • DirkS
    started a topic Bug when using Internal LedDigits with Int32 (ViSi Genie)

    Bug when using Internal LedDigits with Int32 (ViSi Genie)

    Hello,

    this simple project with Form0 and Form1 crashed when going back to Form0.
    Form0 includes a ILedDigits with Format set to Int32.

    When going back to Int16 (the default) everything works well.
    I tested on gen4-uLCD-43DCT-CLB and gen4-uLCD-24-DT with same result.

    Is there a workarond or bugfix available?

    Sincerely,
    Dirk



    This is the project file:


    Version 0.0
    Platform Gen4-uLCD-43DCT-CLB-L
    PlatRes 272x480
    Depends
    end
    Options
    Genie
    Speed 9600
    Checksum No
    ResponseSize 2
    Multidrop No
    Destination 1
    DestBank 0
    MainForm 0
    SndBuf 0
    ButtonDisable No
    SignedDigits No
    MaxString 75
    ComPort 0
    ComTX1pinIdx 0
    ComRX1pinIdx 0
    FileSystem FATfs
    FlashEraseOption Optimal
    SPIenable 0
    SPIsdo 3
    SPIsdi 2
    SPIsck 1
    FlashGT16MB No
    end
    Form
    Name Form0
    Alias Form0
    Bgtype Color
    Color BLACK
    Image (None)
    Source.Height 0
    Source.Left 0
    Source.Top 0
    Source.Width 0
    OnActivate ''
    OnCreate ''
    OnRepeat ''
    OnTouchMoving ''
    OnTouchPressed ''
    OnTouchReleased ''
    end
    iLedDigits
    Name ILedDigits0
    Alias ILedDigits0
    ColorActive clLime
    ColorInactive 0x181818
    DecimalPlace 3
    Digits 7
    DPisComma No
    Format Int32
    LeadingZero No
    Left 84
    ShowDP Yes
    Signed Yes
    Size 2
    Spacing 1
    Top 24
    OnChanged ''
    end
    iMediaButton
    Name IMediaButton0
    Alias IMediaButton0
    BackGroundColor BLACK
    Font FONT3
    FontMagnification 1
    Height 80
    InnerGradColor SILVER
    LedOffColor SILVER
    LedOnColor LIGHTSTEELBLUE
    Left 400
    Matrix -1
    Momentary Yes
    OuterGradColor STEELBLUE
    OuterGradWidth 10
    RingWidth 0
    Style 'Square Raised Sunken'
    Symbol 'Inc Horz'
    SymbolColor RED
    Text Text
    Top 192
    Width 80
    OnChanged Form1Activate
    end
    Form
    Name Form1
    Alias Form1
    Bgtype Color
    Color BLACK
    Image (None)
    Source.Height 0
    Source.Left 0
    Source.Top 0
    Source.Width 0
    OnActivate ''
    OnCreate ''
    OnRepeat ''
    OnTouchMoving ''
    OnTouchPressed ''
    OnTouchReleased ''
    end
    iMediaButton
    Name IMediaButton1
    Alias IMediaButton1
    BackGroundColor BLACK
    Font FONT3
    FontMagnification 1
    Height 80
    InnerGradColor SILVER
    LedOffColor SILVER
    LedOnColor LIGHTSTEELBLUE
    Left 0
    Matrix -1
    Momentary Yes
    OuterGradColor STEELBLUE
    OuterGradWidth 10
    RingWidth 0
    Style 'Square Raised Sunken'
    Symbol 'Dec Horz'
    SymbolColor RED
    Text Text
    Top 192
    Width 80
    OnChanged Form0Activate
    end
    iLedDigits
    Name ILedDigits4
    Alias ILedDigits4
    ColorActive WHEAT
    ColorInactive 0x181818
    DecimalPlace 3
    Digits 8
    DPisComma No
    Format Int16
    LeadingZero No
    Left 200
    ShowDP Yes
    Signed Yes
    Size 2
    Spacing 0
    Top 100
    OnChanged ''
    end

Working...
X