Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Codesys FTP camera image and display

ChinLock
2016-01-04
2016-01-06
  • ChinLock - 2016-01-04

    Codesys FTP camera image to local hardisk, but bmp picture under codesys
    are load only when the plc starts, any function or setting can dynamically update the bitmap image and display it. Had tried "BmpPoolRegister" and "BmpPoolUnRegister", it doesn't work. Please help

     
  • eschwellinger

    eschwellinger - 2016-01-05

    Hi,
    since 3.5SP8:

    The image element now has a bitmap version property. The image will be reloaded when this version changes.

    BR
    Edwin

    IMG: dynamicChangeBitmap.jpg

     
  • ChinLock - 2016-01-05

    Hi Edwin,

    I try to update image using version but not success, please advise which portion went wrong.

    Thanks in advice!

    IMG: Capture3.PNG

    IMG: Capture2.PNG

    IMG: Capture1.PNG

     
  • eschwellinger

    eschwellinger - 2016-01-05

    Hi,

    looks ok, should work... compiler version, visuprofile and runtime version are all 3.5SP8?

    In my application it works, could you please test it with 'Control Win' plc?

    if we exchange the Bitmap in "c:\Program Files (x86)\3S CODESYS\GatewayPLC\visu\ftpbitmap.png"
    and then we set the Version to a new one... Bitmap will be refreshed with the new version.

    The question is in which visu you want to see this?
    -internalvisu in CODESYS developmentsystem
    -webvisu
    -targetvisu

    BR
    Edwin

     
  • ChinLock - 2016-01-06

    compiler version, visuprofile and runtime version are all 3.5SP8.
    After install 3.5SP8, modify example program and it work perfectly , then I back up and modify on my project, it doesn't work , I run the example program, it become never update the image after change the image version.

    IMG: Compiler.PNG

    IMG: Runtime.PNG

    IMG: Visual Profile.PNG

     
  • eschwellinger

    eschwellinger - 2016-01-06

    Hi,

    this sounds strange,
    I would remove the VisuMananger / Visupage and add it again in your project where the problem still exists
    to solve it.

    BR
    Edwin

     

Log in to post a comment.