Home AMX User Forum AMX Technical Discussion
Options

Different requests with same replies

Dear All,
I need to control an Extron audio switcher through RS232 and I'm facing the below issue:

When reading an audio output tie or an output volume, the switcher responses with just the same way.

Example:
READ TIE: send_string dvDevice,"'7$'" ==> Replies as '5',13,10 (means input 5 is tied to output 7 )
READ VOLUME: send_string dvDevice,"'9V'" ==> Replies as '15',13,10 (means output 9 has a level of 15 )

So if I send on startup a global request for both output ties and output volumes ( in my case 16 outputs so I should send 16+16 read messages ) how can I know where the reply is mentioned to ?

An idea would be some flags to be engaged while the reading procedures are in progress but it is pretty sure that there will be a confusion with wrong feedback's.

Is there anybody who has fought with the extron on this ?

Below the related commands protocol:
https://media.extron.com/public/download/files/userman/68-521-20_E.pdf

Thanks,
George

Comments

  • Options

    Turn on 'verbose & tagged responses and queries'. For asynchronous parsing, like AMX, it's much easier.
    '<ESC>3CV ("$1B,'3CV'").
    The response to your tie query would then be: 7$ > Out7 In5 Aud.

  • Options

    Hello richardherman,

    thank you so much.... I really didn't know that... it works perfect with that !!

    George

Sign In or Register to comment.