Need a hand
davieo
Posts: 42
Who can tell me why this code does not work? I have spen't a day with it and am losing my wits over it!
SEND_COMMAND dvKP_MIO_DMS,'^LDD-1'
SEND_COMMAND dVKP_MIO_DMS,'^LDN-1,1,3,HVAC'
SEND_COMMAND dvKP_MIO_DMS,'^LDT-1,1,0,0,3'
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,01,Heat+,"2,1"'
SEND_COMMAND dvKP_MIO_DMS,"'^LDA-1,0,02,',ITOA(sctZONE_DATA[3].snHSP),','"
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,03,Heat-,"2,2"'
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,04,Cool+,"2,3"'
SEND_COMMAND dvKP_MIO_DMS,"'^LDA-1,0,05,',ITOA(sctZONE_DATA[4].snCSP),','"
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,06,Cool-,"2,4"'
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,07,Home,"2,5"'
SEND_COMMAND dvKP_MIO_DMS,'^LVC-1,2'
SEND_COMMAND dvKP_MIO_DMS,'^LVU-1'
I can tell the code is working in that the channel codes work, but no matter what I do, I can only get the channel codes to show up on the LCD.
SEND_COMMAND dvKP_MIO_DMS,'^LDD-1'
SEND_COMMAND dVKP_MIO_DMS,'^LDN-1,1,3,HVAC'
SEND_COMMAND dvKP_MIO_DMS,'^LDT-1,1,0,0,3'
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,01,Heat+,"2,1"'
SEND_COMMAND dvKP_MIO_DMS,"'^LDA-1,0,02,',ITOA(sctZONE_DATA[3].snHSP),','"
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,03,Heat-,"2,2"'
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,04,Cool+,"2,3"'
SEND_COMMAND dvKP_MIO_DMS,"'^LDA-1,0,05,',ITOA(sctZONE_DATA[4].snCSP),','"
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,06,Cool-,"2,4"'
SEND_COMMAND dvKP_MIO_DMS,'^LDA-1,0,07,Home,"2,5"'
SEND_COMMAND dvKP_MIO_DMS,'^LVC-1,2'
SEND_COMMAND dvKP_MIO_DMS,'^LVU-1'
I can tell the code is working in that the channel codes work, but no matter what I do, I can only get the channel codes to show up on the LCD.
0
Comments
check your single and double quotes around the port/channel. This example is from the R4 remote manual (available at AMX) and may have better examples than the MIO DMS manual. I know when I worked for a brief time w/ the MIO DMS it was aggrevating to say the least.
At the time I had no job for this so I was just testing for an in house DMS pad and after a short period of time moved on to other things and have not looked back. I will be re-visiting this sometime soon for a job that's about to start installing.
All I can remember is I wasn't very happy with it and the way I was doing this may have been completely a$$ backwards but I got text to update and was able to make selections, so.....
Thanks Vining,
The code sample you posted is the same example from the DMS manual. Unfortunately - I have used this code, and it has the same issues I have with mine, it will display some data - but only one field. It will not update with the button presses they show in the example either.
Having a full day where I got nowhere with this, I had a lot of opportunity to try different things. Needless to say I am very frustrated with this product!
I saw your other post, with that code sample of yours, and I tried it as well, but had the same problem. I don't know if I am missing something from the DMS setup or what - but I am goign nuts trying to get this working.
If anything else comes to mind, please let me know!
Thanks again
Ok, so just being a bonehead after all. I switched from the file I was going to use on the project to a test file, and forget to set the address code for the list.
Can someone tell me why we need an address code and a table code? This seems a bit redundant to me.