winIDEA SDK
Loading...
Searching...
No Matches
test_ctrace_xml_export_format.py
# This script is licensed under BSD License, see file LICENSE.txt, or search for `License` in the SDK online help.
#
# (c) TASKING Germany GmbH, 2023
import isystem.connect as ic
def test_CTraceXMLExportFormat():
print("Example of creating XML trace export formatter...")
# ... explore other `set` methods ...
fmt = ic.CTraceXMLExportFormat()
fmt.setActivity(True)
fmt.setAddress(True)
fmt.setAUX(True)
fmt.setBusStatus(True)
# ... explore other `get` methods ...
print(f"Include labels: {fmt.isLabel()}")
print(f"Include OCT signals: {fmt.isOCT()}")
print(f"Include source lines: {fmt.isSourceLine()}")
print(f"Include timestamps: {fmt.isTime()}")
if __name__ == "__main__":
test_CTraceXMLExportFormat()