Home AMX User Forum AMX Technical Discussion

Grass Valley Turbo IP control

I have a turbo vtr and I am pretty new to IP control... I am staying away from the GPI/O's and 422 in hopes I can make the IP control work.

From what I understand, Using AMP protocol should allow full function of the deck.

http://www.gvgdevelopers.com/concrete/apis/amp_protocol/getting_started_with_amp/

Below is my code, any insight as to what else needs to be done.
vdvTurbo	= 33107:1:0 	// Turbo iDDR -- AMP control

volatile CHAR	 dev_Turbo_ip[] = '172.17.20.106' // turbo ip address
volatile INTEGER dev_Turbo_localport = 7 // first NI IP port, uses three total
volatile INTEGER dev_Turbo_pair_server_port = 1999 // doesnt matter what this is

// set up real dev connection with turbo
ip_client_open(dev_Turbo_localport, dev_Turbo_ip, turboPort, IP_TCP)

//turbo functions
BUTTON_EVENT[TPS,506]	// TURBO R1 Rec
{
    PUSH:
    {
	SEND_STRING vdvTurbo, "'CMDS0002002\n'" //2002
    }
}

BUTTON_EVENT[TPS,507]	// TURBO R1 Play
{
    PUSH:
    {
	SEND_STRING vdvTurbo, "'CMDS00042001\n'" //2001
    }
}



// keep connection open
WAIT 50
    SEND_STRING vdvTurbo, "'ping', 13"


Im pretty sure Im calling the record player incorrectly...

Any help, or advice..

The turbo is setup for AMP local and remote control on both playback and the record channel.
I cannot find any logs showing if I am able to event connect...


Any help on this would be greatly appreciated.. As I said, Im still learning how to establish an IP connection, so dont hesitate to correct me or show me a more appropriate route to make this work.


Thank you all,
Paul

Comments

  • You need to add device definition for your local port.
    Define_Device
    dvTurbo = 0:7:0
    
    or something similar. Also, there is no reason for strings you send to the virtual device you have defined to get copied over to the port to be sent out to the Grass Valley device. If you do send_string to dvTurbo, it should work.
Sign In or Register to comment.