Skip to content

System Status

getSystemStatus

tStatus = getSystemStatus()

Returns a structure containing system state information. This same information is found in the lower left corner of the Synapse main window.

Returns Type Values
tStatus struct struct with fields:
errorCount - number of errors
recordSecs - number of seconds recorded
rateMBps - data rate as Mb per second
sysLoad - IO load percentage
uiLoad - UI load percentage

Example

Start a recording, wait 5 seconds, then retrieve system status information.

syn.setMode(3);
pause(5)
tStatus = syn.getSystemStatus();
import time

syn.setMode(3)
time.sleep(5)
tStatus = syn.getSystemStatus()

getSamplingRates

tSamplingRates = getSamplingRates()

Returns a structure containing the sampling rates for each device in the Synapse Processing Tree.

Returns Type Values
tSamplingRates struct struct fields are the names of all devices

Example

Retrieve the device sampling rate for an RZ6 processor.

result = syn.getSamplingRates();
sf = result.RZ6_1;
result = syn.getSamplingRates()
sf = result['RZ6(1)']