AMX MAX-CSE manual MAX-CSD10Streaming Send Commands Cont, NetLinx Programming, Description

Models: MAX-CSD10 MAX-CSE

1 116
Download 116 pages 15.94 Kb
Page 96
Image 96
GET SESSION CHANGE

NetLinx Programming

MAX-CSD10 Streaming Send_Commands (Cont.)

Command

Description

 

 

GET SAP IP ALT

Requests the configuration of the alternate SAP advertisement address and

Get a description of the

port.

Syntax:

alternate address and port

being used for SAP

SEND_COMMAND <DEV>,"'GET SAP IP ALT'"

advertisements.

Variable:

 

 

address = Address for SAP advertisements in IPv4 dot notation

 

(ex: X.X.X.X).

 

port = Port for SAP advertisements.

 

Example:

 

SEND_COMMAND DECODER,"'GET SAP IP ALT'"

 

System response:

 

SAP IP ALT=224.2.127.254:9875

 

Indicates that the alternate SAP IP address and port is configured for the

 

multicast address 224.2.127.254 and port 9875.

 

 

GET SESSION CHANGE

Requests whether the SAP session list has changed since the last GET SES-

Determine whether the SAP

SION LIST command.

 

session list has changed.

Syntax:

 

SEND_COMMAND <DEV>,"'GET SESSION CHANGE'"

 

Variable:

 

result = boolean value: 0 for false, 1 for true.

 

Example:

 

SEND_COMMAND DECODER,"'GET SESSION CHANGE'"

 

System response:

 

SESSION CHANGE=1

 

Indicates that the SAP session list has changed.

 

 

GET SESSION CURSOR

Requests the current position in the SAP session list, of the stream the

Get the current position in the

decoder is watching, while in SAP control mode.

session list.

Syntax:

 

SEND_COMMAND <DEV>,"'GET SESSION CURSOR'"

 

Variable:

 

position = numeric index.

 

Example:

 

SEND_COMMAND DECODER,"'GET SESSION CURSOR'"

 

System response:

 

SESSION CURSOR=1

 

Indicates that the MAX-CSD10 is watching the stream described by session 1.

 

 

GET SESSION INFO

Requests the contents of a SAP field from the specified session.

Get a field description from

Syntax:

the specified streaming

SEND_COMMAND <DEV>,"'GET SESSION INFO <index><field>'"

session.

Variable:

 

index = position index of the session in the session list.

 

field = CONTACT, EMAIL, DESC, IPADDR, PHONE, TITLE, or URI

 

Example:

 

SEND_COMMAND DECODER,"'GET SESSION INFO 1 TITLE'"

 

System response:

 

SESSION INFO 1 TITLE=AMX-encoder

 

Indicates that the stream title of the first session is “AMX-encoder”.

 

 

90

MAX-CSE/MAX-CSD10 Operation/Reference Guide

Page 96
Image 96
AMX MAX-CSE MAX-CSD10Streaming Send Commands Cont, NetLinx Programming, Description, Get Sap Ip Alt, Get Session Change