Subsections

DBG-interface

Command-syntax

list

returns a list of all available modules

Arguments

none

Returns

a module_id,name list of all modules available, where module_id is to be used for reference, while name reflects the spc-name of the module. The returned list is sorted on module_id.

show

gives more detail

Arguments

the value for the reference

Returns

input
number of inputs, followed by a type,len - list for every input
output
number of outputs, followed by a conn_id,conn_index,type,len list for every output, where conn_id and conn_index point to the module and port connected. If this port is not connected, conn_id and conn_index are both -1.
config
number of configs, followed by a name,type,value - list for every configuration-item.
stats
number of stats, followed by a name,type,value - list for every configuration-item.

get_output

returns a given output of a given module

Arguments

module_id,port_nbr

Returns

size,type,values where values are decimal, comma-seperated values. For complex numbers, each value is a (real,imag)-pair.

get_config

Used to fill in the config-window

Arguments

module_id,config_index

Returns

value

set_config

Changes a configuration. Changes take effect as soon as possible

Arguments

module_id,config_index,value

Returns

OK or FAILED

get stats

Reads out a statistical value.

Arguments

module_id,stats_index

Returns

value. For complex values, this is a (real,imag) value, for blocks, it is handled in the same way as get_output, so it's size,type,values

Linus Gasser 2004-04-14