Home AMX User Forum NetLinx Studio

why does the Touch panal MVP-8400I not work on this code?

This code I got from amx site "widget". I tried with two touch panels, MVP 8400i and NXD 1000vi. But MVP- 8400i doesn't work. why?


DEFINE_DEVICE
dvTP = 10050:1:0


DEFINE_EVENT
DATA_EVENT[NotesPNLS]
{
STRING:
{
IF(FIND_STRING(DATA.TEXT,'KEYB-',1))
{
REMOVE_STRING(DATA.TEXT,'KEYB-',1)
IF(LENGTH_STRING(DATA.TEXT))
{
IF(FIND_STRING(DATA.TEXT,'ABORT',1))
{
}
ELSE
{
SEND_COMMAND NotesPNLS,"'^TXT-101,0,',DATA.TEXT"
ON[NotesPNLS,4]//turn on new msg indicator
}
}
}
}
}
BUTTON_EVENT[NotesPNLS,3]//ERASE
{
PUSH:
{
SEND_COMMAND NotesPNLS,"'^TXT-101,0, '"
OFF[NotesPNLS,4]//turn off new msg indicator
}
}

Comments

  • ericmedleyericmedley Posts: 4,177
    You'll need to post more of your code. What you posted doesn't contain enough info to help you. For example, what is in the dev array NotesPNLS ? Also, you don't identify which element of the dev array created the data_event>string: in the code posted. Is there only one device in the array?
Sign In or Register to comment.