Home AMX User Forum NetLinx Studio

Post image to button

I'm trying to get an image to appear on my button.

Send_Command dvPanel,"'^BMF-20,0,%Pmyfilename.png'"

myfilename.png does not appear.
The address is port 8 code 20
Channel port 1 code NONE

Comments

  • mpullinmpullin Posts: 949
    davidv wrote: »
    I'm trying to get an image to appear on my button.

    Send_Command dvPanel,"'^BMF-20,0,%Pmyfilename.png'"

    myfilename.png does not appear.
    The address is port 8 code 20
    Channel port 1 code NONE
    I suspect your problem is that dvPannel is something like 10001:1:0 and the address that you want to write to is on port 8. Change the port to 1, or create another device, dvPanelABC = 10001:8:0, and it should work.
  • davidvdavidv Posts: 90
    Image

    dvPanel = 10001:8:0

    Send_Command dvPanel,"'^BMF-20,0,%Pmyimage.png'"

    This should put the image into address button 20

    ?
  • bcirrisibcirrisi Posts: 148
    Known Problem

    There is known problem with the latest firmware on some of the Moderos. I had that problem with a 5" & 7", but not the MVP-5200i. However, my issue occurred whenever I switched from a dynamic image to a regular image, from that point on I couldn't change the image at on the button at all. I rolled back the firmware to something from a year ago for the 5" & 7" and it worked fine.
  • davidvdavidv Posts: 90
    Image

    This is NOT a dynamic image. It is an image found in my Resource Manager - Images

    ^BMF is for images correct?

    and setting it to "0" will be for both on and off???
  • bcirrisibcirrisi Posts: 148
    Looks correct

    Everything you are doing looks correct. ^BMF is the the right command, and 0 does do the On and Off state. The only other time I had that problem, I had to delete the button and re-create it.
Sign In or Register to comment.