Home AMX User Forum NetLinx Studio

Extron MAV IP Link & Miranda Kaleido-Quads

I am working on a project that requires me to control an extron mav plus thru IP, currently i'm able to connect to the extron but unable to control it using the controller, is there any special thing that i have to take note?

dvLiveSwt = 0:3:0
ip_client_open(3,'IP Address',23,ip_tcp)
send_string dvLiveSwt,'1*1!'

the able code is a sample of how i go about doing it
but it seems that it was not able to accept my command thru ip
but i am able to connect and control it through my computer telnet

And has anybody control Miranda Kaleido-Quads before? Same it is control via IP and i have the same problem i am able to connect to it but not able to control it, guess it is something to do with how i handle the connection.

please advise...
any help will be greatly appreciated. if code snippets is available it will be of great help

thanks in advance!

Comments

  • Chip MoodyChip Moody Posts: 727
    Calling IP_CLIENT_OPEN doesn't mean that you're going to have a valid, working connection available right away. You need to monitor the status of your IP "device" with ONLINE: and ERROR: events. Trap any error events that come in to see if anything is preventing you from getting the connection going between the two.

    Basically, until you get an ONLINE: event from your IP device, you're not connected and can't send data to and won't get data from the device.

    There are a couple of tech notes worth reading related to this - if you look at those and you're still stuck, drop me a line.

    I've worked with K2's over Ethernet before - don't know if they use similar commands to the Quads or not. Aside from making sure you're handling the connection properly, also make sure you're using the correct port - the K2s (if memory serves) didn't use the telnet port for control.

    - Chip
  • alexhoalexho Posts: 7
    The code i post is only part of the code that is doing the connection the online offline onerror event i left it out on purpose, and for the miranda i know it doesn't connect through the IP port... it connect through port 13000, anyway i figure out how to control the Extron MAV basically we cant control it by using telnet to send_string, only code is able to send to the actual IP device, and for the miranda i had yet tot test it out will post the results after i tested it

    Basically for the extron during sending through the IP port we need to send CRLF after the actual switching string. =)

    Had tested out the miranda kaleido quads basically it also requires the CRLF after the actual commands

    thanks alot for the feedback
Sign In or Register to comment.