Home AMX Forum NetLinx Studio
Options

First Real Project Help

I went to Programmer 1 months ago and have slept many times since. So my knowledge has rusted shut. So I am trying to interact with a dvx and serial port 4 on it. I am controlling a Denon DN-500BD. I can't find a module so was planning on writing controls for it. My problem is I can't seem to get it to respond. Below is some information I have setup. I have even shorted pins 2 and 3 to see if I could get any information back from the port and have had zero luck. I am guessing I am missing something obvious but tired of pulling out what little hair I have. Any help would be appreciated.

Thanks
Thom

DEFINE_DEVICE
dvMaster = 0:1:0 //DVX-3255HD Master
dvTP_Main = 10010:1:0 //Touch Panel
dvTP_Bluray_Serial = 10010:5:0 //Blu-ray Page
dvBluray_Serial= 5001:4:0 // This serial device

DATA_EVENT[dvBluray_Serial]
{
ONLINE:
{
SEND_COMMAND dvBluray_Serial,"'SET BAUD 9600,N,8,1'"
}

STRING:
{
LOCAL_VAR CHAR nString[25]
nString = DATA.TEXT
SEND_STRING 0, nString //sends command to telnet for debugging
}
}

BUTTON_EVENT[dvTP_Bluray_Serial,0]//This is the Touch panel push
{
PUSH:
{
//SWITCH(BUTTON.INPUT.CHANNEL)
IF(BUTTON.INPUT.CHANNEL==162)
{
idebug = 1

//SEND_COMMAND dvBluray_Serial, "'@0PCDTRYOP'"
SEND_STRING dvBluray_Serial, "'@0PCDTRYOP'"
wait(500)
send_string dvBluray_Serial, "'@0?PW'"
//trying different things but no luck
}

}

}

Comments

Sign In or Register to comment.