TheCoreElementsXML-RPCAPI  1.0
Thecoreelements_matrix_api

GetDbg

Get dbg of matrix

Returns
struct

Example Usage:

[root@dev-5 ctl]# xmlrpc localhost:31001 TheCoreElementsMatrix.GetDbg
[root@dev-5 ctl]#
result TheCoreElementsMatrix_GetDbg ()
 

GetLabels

Get labels information

Returns
struct with two arrays for outputs/inputs labels

Example Usage:

[root@dev-5 ctl]# xmlrpc localhost:31001 TheCoreElementsMatrix.GetLabels
Result:
Struct of 2 members:
Key: String: 'outputs'
Value: Array of 64 items:
Index 0 String: 'NDI/OUT'
Index 1 String: 'SDI/OUT'
Index 2 String: 'MIX0/A'
[...]
Index 62 String: ''
Index 63 String: ''
Key: String: 'inputs'
Value: Array of 64 items:
Index 0 String: 'TST/BG1'
Index 1 String: 'TST/BG2'
Index 2 String: 'TST/OVR1'
Index 3 String: 'TST/OVR2'
Index 4 String: 'PLY/IO0'
[...]
Index 62 String: ''
Index 63 String: ''
[root@dev-5 ctl]#
result TheCoreElementsMatrix_GetLabels ()
 

GetStat

Get state of matrix

Returns
struct

Example Usage:

[root@dev-5 ctl]# xmlrpc localhost:31001 TheCoreElementsMatrix.GetStat
Result:
Struct of 4 members:
Key: String: 'amend'
Value: Integer: 4
Key: String: 'frames'
Value: Integer: 49
Key: String: 'inputs_src'
Value: Array of 64 items:
Index 0 Integer: 19
Index 1 Integer: 2
Index 2 Integer: 1
Index 3 Integer: 3
Index 4 Integer: 0
Index 5 Integer: 0
Index 6 Integer: 0
Index 7 Integer: 0
Index 8 Integer: 0
Index 9 Integer: 0
[...]
Index 58 Integer: 0
Index 59 Integer: 0
Index 60 Integer: 0
Index 61 Integer: 0
Index 62 Integer: 0
Index 63 Integer: 0
[root@dev-5 ctl]#
result TheCoreElementsMatrix_GetStat ()
 

GetLabels

Get labels information

Returns
struct with two arrays for outputs/inputs labels

Example Usage:

[root@dev-5 ctl]# xmlrpc localhost:31001 TheCoreElementsMatrix.GetLabels
Result:
Struct of 2 members:
Key: String: 'outputs'
Value: Array of 64 items:
Index 0 String: 'NDI/OUT'
Index 1 String: 'SDI/OUT'
Index 2 String: 'MIX0/A'
[...]
Index 62 String: ''
Index 63 String: ''
Key: String: 'inputs'
Value: Array of 64 items:
Index 0 String: 'TST/BG1'
Index 1 String: 'TST/BG2'
Index 2 String: 'TST/OVR1'
Index 3 String: 'TST/OVR2'
Index 4 String: 'PLY/IO0'
[...]
Index 62 String: ''
Index 63 String: ''
[root@dev-5 ctl]#
result TheCoreElementsMatrix_SetLabels ()
 

SetOutput

Setup matrix configuration

Parameters
[in]output_idxmatrix output to operate with
[in]input_idxmatrix input will be routed there
Returns
int

Example Usage:

[root@dev-5 API.html]# xmlrpc localhost:31001 TheCoreElementsMatrix.SetOutput i/0 i/0
Result:
Integer: 0
result TheCoreElementsMatrix_SetOutput (integer output_idx, integer input_idx)
 

Detailed Description