Home AMX User Forum NetLinx Studio

open FTP files

How can I read .gif file I have put it on the Master FTP server?
Actually,I have used FILE_OPEN('\AMXpanel\images\1.gif',FILE_READ_ONLY) to read the .gif file.
But I don't know how I can do to make it display on the touchpanel.

Help me,God!

Comments

  • viningvining Posts: 4,368
    diosamia wrote: »
    How can I read .gif file I have put it on the Master FTP server?
    Actually,I have used FILE_OPEN('\AMXpanel\images\1.gif',FILE_READ_ONLY) to read the .gif file.
    But I don't know how I can do to make it display on the touchpanel.

    Help me,God!

    Only png & jpg file types are supported to display on AMX TPs and you shouldn't be trying to "read" an image anyway. You either upload the image to the TP or you can create a dynamic image on the TP and point it to your file location on the master. Once you create the dynamic image you can change the file reference via code on the fly therebye changing the image on the fly using ^RMF & ^RFR commands.
Sign In or Register to comment.