Home AMX User Forum NetLinx Studio

System Call DVD Feedback

I'm working on a project with a Denon DVD using IR control. I am trying to use a system call but not getting any feedback. I am using one line of code for the device in the DEFINE_PROGRAM SECTION.

SYSTEM CALL [] DVD2 {dvDVD,dvTPDVD,61,62,63,64,65,66,67,61}

Anybody know why I am not getting feedback?

Comments

  • This may sound obvious but make sure the buttons on your TP are set to CHANNEL feedback and make sure there is a visible difference in the ON and OFF state. These are common mistakes I make....
  • jjamesjjames Posts: 2,908
    Curious - is AMX still teaching to use System Calls? I thought that was getting phased out when I went to P1 back in December of '04.
  • Not sure? I tend to avoid them. If a client wants feedback on a DVD or a VCR, I'd advise them to buy an RS232 controlled deck. IR controlled devices only get momentary feedback. (my opinion) There are too many possibilities that the lite button is not what is actually happening on the deck.
  • jjamesjjames Posts: 2,908
    kbeattyAMX wrote: »
    Not sure? I tend to avoid them. If a client wants feedback on a DVD or a VCR, I'd advise them to buy an RS232 controlled deck. IR controlled devices only get momentary feedback. (my opinion) There are too many possibilities that the lite button is not what is actually happening on the deck.

    Exactly my thought process and hence the question. :D
  • davegrovdavegrov Posts: 114
    Thank You

    Yes. AMX is teaching System Call in Programming 1. I also think that RS-232 is the way to go but they never asked me my opinion when they designed the system.
  • davegrov wrote: »
    I'm working on a project with a Denon DVD using IR control. I am trying to use a system call but not getting any feedback. I am using one line of code for the device in the DEFINE_PROGRAM SECTION.

    SYSTEM CALL [] DVD2 {dvDVD,dvTPDVD,61,62,63,64,65,66,67,61}

    Anybody know why I am not getting feedback?
    The last parameter (named FIRST in manual) is an offset for mapping the feedback states on the IR port. Normally it is just 0 (zero), which will map the status channelsl to 241 and up for play stop, etc.
    A new offset must just be calculated i.e. if you want to use the DVD and a VCR systemcall on the same IR port. But this formula is tricky (can't remember), and the IR file must be captured in a special order.

    Personally, if real feedback is requzired, use a serial controlled player. If youo have an IR controlled device, I tell that it is not good to assume any states, so I recommend just to use momentary feedback to show the user that he has hit the button (to explain the user the difference:" imagine your hand control would show PLAY, but the player is in stop... Do you want this?") :)

    Btw - isn't the compiler giving a syntax error? SystemCalls expect () instead of {} for the parameters.
Sign In or Register to comment.