winIDEA SDK
|
test_set_blue_box_target_connection.py
test_set_blue_box_tristate_status.py
test_get_address_of_source_line.py
test_get_expression_address.py
test_get_source_line_at_address.py
test_get_test_point_id_prefix.py
test_get_variable_addresses.py
set_bp_on_first_available_line.py
test_get_analyzer_session_status.py
test_coverage_create_instance.py
test_get_coverage_meta_info.py
test_enumerate_winidea_instances.py
test_find_existing_instance.py
test_find_or_start_instance.py
test_get_memory_area_bytes_per_mau.py
test_get_system_memory_areas.py
test_set_stack_frame_context.py
test_doc_an_trig_process_profiler_code.py
test_doc_an_trig_process_profiler_data.py
test_doc_an_trig_process_profiler_os.py
test_soc_ctrl_smp_get_focused_core.py
test_soc_ctrl_smp_set_focused_core.py
test_soc_ctrl_bus_access_batch.py
test_cd_to_winidea_workspace_dir.py
test_get_default_download_file.py
test_is_winidea_open_version.py
test_set_interrupts_disable.py
test_get_license_description.py
test_remove_from_download_list.py
test_profiler_create_trigger.py
test_set_profiling_sections.py
test_get_set_session_duration.py
test_get_statistics_for_function.py
test_get_total_session_time_ns.py
test_has_statistics_for_area.py
test_has_statistics_for_function.py
test_has_statistics_for_state_area.py
test_enumerate_project_option.py
test_storage_is_device_empty.py
test_storage_get_last_error.py
test_storage_secure_unsecure_check.py
test_storage_init_terminate.py
test_storage_get_partition_info.py
test_storage_get_devices_number.py
test_storage_get_devices_names.py
test_storage_get_device_info.py
test_storage_get_device_index.py
test_storage_emmc_read_write.py
test_storage_emmc_is_device_empty.py
test_case_controller_example.py
test_ctrace_csv_export_format.py
test_ctrace_text_export_format.py
test_ctrace_xml_export_format.py
test_ctrace_bin_export_format.py
test_get_binary_export_config.py
test_trace_get_parser_warnings.py
test_trace_get_timeline_iterator.py
test_get_set_basic_debug_cfg.py
This script opens a window with chart and reads and draws values of target variable 'main_loop_counter' in real-time for 5 seconds.
This script demonstrates recording of watch expressions and variables using slower but more flexible evaluator and fast batch access. The recorded data is then written to CSV file. If the 'openpyxl' module is installed, the data is also written to XLSX file. All the above functionality is grouped into functions, so you can easily take out only part of the script. This script can also be imported as a module by other scripts, so it is easy to reuse functions found here.
data_recorder_with_live_plot.py
This script opens a window with chart and reads and draws values of target variable given in command line in real-time for 5 seconds. Since data acquisition is used, sampling times can be around 1ms (target dependent).
This script plots several variables in one chart. The chart is automatically scaled so that all the data is visible. To use this script as a module, import it to your scripts and call function startRecorder() with the list of variables you want to observe.
This script generates a flow chart for a function from its disassembly information. Graphwiz must be installed on the system, and its bin directory in system PATH.
This script processes data recorded by profiler and creates two types of diagrams - UML sequence diagrams and call graphs. See comment in the script for additional modules required to run the script.
This example uses CCodeStore class to read a chunk of code and stores it inside such an object and later saves it into a file in specified format.
This script demonstrates usage of CFNetAInController class.
This script demonstrates usage of CFNetAOutController class.
This script demonstrates usage of CFNetCANController class.
This script demonstrates usage of CFNetCounterController class.
This script demonstrates usage of CFNetmDIOController class.
This script demonstrates usage of CFNetDIOController class.
This script demonstrates usage of CFNetLINController class.
This script demonstrates usage of CFNetPowerSenseController class.
This script demonstrates usage of CFNetSPIController class.
This script demonstrates testing with coverage measurement. Only one function is tested and tests are implemented in a way to reach 100% coverage. Coverage is completely configured in test specification.
This script demonstrates testing with coverage measurement. Several functions are tested. Coverage document is configured with isystem.connect calls, and later reused in test specification.
This script demonstrates testing cycle with custom filtering of tests to be executed. Contains function for recursive execution of tests in the test specification tree.
This script demonstrates usage of isystem.test from Python. Test specifications are given as multi-line Python strings in the code.
This example demonstrates the usage of parametrized test specifications. Two ways for parameterizing tests are shown:
- modifying test specifications (two examples)
- using isystem.test API to modify test contents (the last example)
This script demonstrates usage of persistent variables in unit tests.
This script demonstrates calling of script methods specified in test specification. See tags
initFunc
andendFunc
in test specification.
programmatic_test_case_creation.py
This script demonstrates programmatic creation of test case using isystem.itest API.
This script can be used to write test results to XML file in JUnit format. Not all tags supported by JUnit are provided, but the script can easily be expanded to support them.
This script demonstrates how to set up data structures used in isystem.test module to produce test reports. You can use this functionality of isystem.test to create testIDEA looking reports even when tests are executed by Python scripts, not with iyaml test specification, for example in complex system tests.
stubs_and_user_stubs_in_sys_tests.py
This script runs a web server, which provides page with target variables and their values. Real-time access is used when reading variables via
isystem.connect
.
This script demonstrates usage of service calls to winIDEA. This is advanced usage of isystem.connect - use it only when instructed by iSYSTEM support.
This script demonstrates misc.
isystem.connect
functions.
This script shows how to get stack frames from target.
This script shows how to get global symbols (variables, functions, types, ...) for all download files in a project.
This script simply connects to a most recently used instance of winIDEA and starts recording data using the fast data acquisition (DAQ) controller. In order to do this the application must be running on the target otherwise no data will be received.
This script demonstrates retrieval of disassembly information. Object code information is printed for several lines of function main().
This script demonstrates usage of class CEMMCController.
This script plots values of target arrays given as command line args.
This script demonstrates usage of invoke() call.
This script demonstrates usage of invoke() call for OS control.
winidea_instance_enumeration.py
connect_to_multiple_winideas.py
This script demonstrates the automated usage of ADIO in different use-cases, as described in winIDEA Help
This script demonstrates different use cases for CAN/LIN Add-on module, as described in winIDEA Help
This script demonstrates how to create and configure a winIDEA workspace using the SDK.