py_canoe.CANoe
Source code in src\py_canoe\canoe.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
__enter__()
Enter context manager.
Source code in src\py_canoe\canoe.py
45 46 47 48 49 | |
__exit__(exc_type, exc_val, exc_tb)
Exit context manager and cleanup resources. Explicitly release resources and uninitialize COM.
Source code in src\py_canoe\canoe.py
51 52 53 54 55 56 57 58 59 60 61 | |
add_database(database_file, network)
adds database file to a network channel
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1026 1027 1028 1029 1030 1031 1032 1033 | |
add_filters_to_exporter(logger_index, full_names)
Add messages and symbols to exporter filter by their full names.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1272 1273 1274 1275 1276 1277 1278 1279 | |
add_logging_block(full_name)
adds a new logging block to configuration measurement setup.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 | |
add_netWork(network_name, network_type=BusType.CAN, sw_channel=1)
Adds a new network to the configuration.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 | |
add_netWork_with_hardware(network_name, network_type=BusType.CAN, sw_channel=1, hw_channel=None, arb_phase_config=None, data_phase_config=None)
Add a network and optionally assign a physical hardware channel.
This combines :meth:add_netWork + :meth:set_hardware_channel.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 | |
add_offline_source_log_file(absolute_log_file_path)
Adds an offline source log file to the configuration.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
749 750 751 752 753 754 755 756 757 758 759 | |
add_testEnvironments(name)
Add a new Test Environment to TestSetup.
If you need to create a new test environment, the name field contains the name of the new test environment. If you need to load an existing test environment from a file, the name field contains the file path, which can be an absolute path or relative to the current configuration.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 | |
attach_to_active_application()
Attach to a active instance of the CANoe application.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
154 155 156 157 158 159 160 161 162 163 164 | |
break_measurement_in_offline_mode()
Breaks the measurement in offline mode.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1414 1415 1416 1417 1418 1419 1420 1421 | |
call_capl_function(name, *arguments)
Calls a CAPL function.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
711 712 713 714 715 716 717 718 719 720 721 722 | |
check_j1939_signal_online(bus, channel, message, signal, source_addr, dest_addr)
Checks if a J1939 signal is online.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 | |
check_j1939_signal_state(bus, channel, message, signal, source_addr, dest_addr)
Checks the state of a J1939 signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 | |
check_signal_online(bus, channel, message, signal)
Checks if a signal is online.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 | |
check_signal_state(bus, channel, message, signal)
Checks the state of a signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 | |
clear_hardware_channels()
Remove all hardware channel mappings for CANoe.
Source code in src\py_canoe\canoe.py
1218 1219 1220 1221 | |
clear_write_window_content()
Clears the content of the write window.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1609 1610 1611 1612 1613 1614 1615 1616 | |
compile_all_capl_nodes(wait_time=5)
Compiles all CAPL nodes in the application.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
699 700 701 702 703 704 705 706 707 708 709 | |
control_replay_block(block_name, start_stop)
Controls the replay block.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
786 787 788 789 790 791 792 793 794 795 796 797 | |
control_tester_present(diag_ecu_qualifier_name, value)
Controls the tester present signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 | |
copy_write_window_content()
Copies the content of the write window.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1618 1619 1620 1621 1622 1623 1624 1625 | |
define_system_variable(sys_var_name, value, read_only=False)
Defines a system variable.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 | |
disable_write_window_output_file(tab_index=None)
Disables the write window output file.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 | |
enable_disable_replay_block(block_name, enable_disable)
Enables or disables a replay block.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
799 800 801 802 803 804 805 806 807 808 809 810 | |
enable_write_window_output_file(output_file, tab_index=None)
Enables the write window output file.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 | |
execute_all_test_configurations(enable_test_cases=(), disable_test_cases=(), match_by='name', wait_for_completion=True)
executes all test configurations available in test setup.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 | |
execute_all_test_environments()
executes all test environments available in test setup.
Source code in src\py_canoe\canoe.py
1018 1019 1020 | |
execute_all_test_modules_in_test_env(env_name, enable_test_cases=(), disable_test_cases=(), match_by='name')
executes all test modules available in test environment.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 | |
execute_test_configuration(test_configuration_name, enable_test_cases=(), disable_test_cases=(), match_by='name', wait_for_completion=True)
executes a specific test configuration.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 | |
execute_test_module(test_module_name, enable_test_cases=(), disable_test_cases=(), match_by='name')
use this method to execute test module.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Examples:
>>> # Enable only smoke test cases (matched by name)
>>> canoe.execute_test_module("MyModule", enable_test_cases=["SmokeTest_*"])
>>> # Disable slow test cases, enable everything else
>>> canoe.execute_test_module("MyModule", enable_test_cases=["*"], disable_test_cases=["*slow*", "*stress*"])
>>> # Use regex to match
>>> canoe.execute_test_module("MyModule", enable_test_cases=["(?i)^tc_(001|002|003)$"])
>>> # Match patterns against the test case title instead of name
>>> canoe.execute_test_module("MyModule", enable_test_cases=["*BLE*"], match_by="title")
Source code in src\py_canoe\canoe.py
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 | |
get_all_namespace_names()
Returns all namespace names from the current application.
Source code in src\py_canoe\canoe.py
1530 1531 1532 | |
get_all_network_names()
Returns all network names in the current application.
Source code in src\py_canoe\canoe.py
248 249 250 | |
get_all_variables_in_namespace(namespace_name)
Returns all variables in the specified namespace.
Source code in src\py_canoe\canoe.py
1534 1535 1536 | |
get_bus_databases_info(bus=BusType.CAN, log_info=False)
Gets the bus databases information.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | |
get_bus_nodes_info(bus=BusType.CAN, log_info=False)
Gets the bus nodes information.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | |
get_can_bus_statistics(channel)
Gets the CAN bus statistics.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
761 762 763 764 765 766 767 768 769 770 771 | |
get_canoe_version_info()
Gets the version information of the CANoe application.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1652 1653 1654 1655 1656 1657 1658 1659 | |
get_capl_compilation_result()
Returns the current configuration compilation result.
Source code in src\py_canoe\canoe.py
816 817 818 | |
get_channelUsage(channel_type=BusType.CAN)
returns the number of channels of a specific type.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 | |
get_environment_variable_value(env_var_name, return_timestamp=False)
returns a environment variable value.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 | |
get_hardware_channels(bus_type=BusType.CAN)
Return available hardware channels for bus_type.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 | |
get_hardware_config(app_channel, bus_type=BusType.CAN)
Return the hardware channel mapped to CANoe logical app_channel, or None if not configured.
Source code in src\py_canoe\canoe.py
1223 1224 1225 1226 1227 1228 | |
get_j1939_signal_full_name(bus, channel, message, signal, source_addr, dest_addr)
Gets the full name of a J1939 signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 | |
get_j1939_signal_value(bus, channel, message, signal, source_addr, dest_addr, raw_value=False, return_timestamp=False)
Gets the value of a J1939 signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 | |
get_logging_blocks()
Return all available logging blocks.
Source code in src\py_canoe\canoe.py
1233 1234 1235 | |
get_measurement_index()
Gets the measurement index.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1441 1442 1443 1444 1445 1446 1447 1448 | |
get_measurement_running_status()
Gets the running status of the measurement.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1392 1393 1394 1395 1396 1397 1398 1399 | |
get_messages(logger_index)
Return all messages from given logger.
Source code in src\py_canoe\canoe.py
1268 1269 1270 | |
get_network(network_name=None)
Return a specific network by name, or None if not found.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 | |
get_rt_kernel_architecture()
Returns the current RT Kernel architecture (0=32-bit, 1=64-bit, ...).
Source code in src\py_canoe\canoe.py
1661 1662 1663 | |
get_signal_full_name(bus, channel, message, signal)
Gets the full name of a signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 | |
get_signal_value(bus, channel, message, signal, raw_value=False, return_timestamp=False)
Gets the value of a signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 | |
get_simulation_bus_names()
Returns all simulation bus names from the current application.
Source code in src\py_canoe\canoe.py
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | |
get_simulation_database_paths()
Returns all simulation database paths from the current application.
Source code in src\py_canoe\canoe.py
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 | |
get_symbols(logger_index)
Return all exporter symbols from given logger.
Source code in src\py_canoe\canoe.py
1264 1265 1266 | |
get_system_variable_value(sys_var_name, return_symbolic_name=False, return_timestamp=False, enable_events=True)
Gets the value of a system variable.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 | |
get_test_configurations()
returns dictionary of test configuration names and its class object.
Source code in src\py_canoe\canoe.py
812 813 814 | |
get_test_environments()
returns dictionary of test environment names and class.
Source code in src\py_canoe\canoe.py
889 890 891 | |
get_test_module_result(test_module_name, report_timeout=30.0)
Get test module execution result including report path, test case verdicts, and aggregated statistics.
Should be called after execute_test_module() to retrieve the results.
Note: This method does NOT depend on the module's started state. It reads
the verdict and report information directly from the test module object,
and waits (up to report_timeout seconds) for the report-generated
event if it has not fired yet. All returned data are plain Python objects
(snapshots), not live COM objects, so they remain valid after the CANoe
session ends.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Example
canoe.execute_test_module("MyModule") result = canoe.get_test_module_result("MyModule") print(f"Module: {result['test_module']}") print(f"Verdict: {result['verdict_name']}") print(f"Pass rate: {result['pass_rate']:.1f}%") print(f"Passed: {result['passed']}/{result['total']}") print(f"Report: {result['report']['generated_full_name']}") for tc in result['test_cases']: ... print(f" {tc['name']}: {tc['verdict_name']}")
Source code in src\py_canoe\canoe.py
937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 | |
get_test_modules(env_name)
returns dictionary of test environment test module names and its class object.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
893 894 895 896 897 898 899 | |
load_logs_for_exporter(logger_index)
Load all source files of exporter and determine symbols/messages.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1256 1257 1258 1259 1260 1261 1262 | |
new(auto_save=False, prompt_user=False, timeout=5)
Creates a new configuration.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
open(canoe_cfg, visible=True, auto_save=True, prompt_user=False, auto_stop=True, timeout=30)
Loads a configuration.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | |
profile_signal_value(bus, channel, message, signal, duration=1.0, interval=0.0, raw_value=False, max_samples=None, include_samples=False, include_timestamps=False)
Profiles a signal by sampling it repeatedly and returning basic stats.
This is useful for quickly observing signal stability, typical value range, and timing characteristics without storing all the samples in memory.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 | |
quit(timeout=30)
Quits the application.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
140 141 142 143 144 145 146 147 148 149 150 151 152 | |
read_text_from_write_window()
Reads text from the write window.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1600 1601 1602 1603 1604 1605 1606 1607 | |
remove_all_channelUsage()
removes all channels of all types.
Source code in src\py_canoe\canoe.py
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 | |
remove_all_networks()
Remove ALL networks from the simulation setup.
Note: CANoe requires at least one network, so the last remaining network is kept. Returns the number of networks actually removed.
Source code in src\py_canoe\canoe.py
1127 1128 1129 1130 1131 1132 1133 | |
remove_database(database_file, database_channel)
remove database file from a channel
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1035 1036 1037 1038 1039 1040 1041 1042 | |
remove_logging_block(index)
removes a logging block from configuration measurement setup.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1248 1249 1250 1251 1252 1253 1254 | |
remove_netWork(name)
Remove a network by name.
Note: CANoe requires at least one network. The last remaining network cannot be removed.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 | |
reset_measurement(timeout=30)
Restarts the measurement if running.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 | |
reset_measurement_in_offline_mode()
Resets the measurement in offline mode.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1423 1424 1425 1426 1427 1428 1429 1430 | |
run_capl_compilation()
Runs compilation for the current configuration.
Source code in src\py_canoe\canoe.py
820 821 822 | |
save_configuration()
Saves the current configuration.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
724 725 726 727 728 729 730 731 | |
save_configuration_as(path, major, minor, prompt_user=False, create_dir=True)
Saves the current configuration as a new file.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 | |
send_diag_request(diag_ecu_qualifier_name, request, request_in_bytes=True, return_sender_name=False, response_in_bytearray=False, timeout=30, poll_s=0.01, **kwargs)
Sends a diagnostic request.
| Parameters: |
|
|---|
Returns: Union[str, dict]: The response from the diagnostic request.
Example
self.send_diag_request("ECU", "WritePropulsionType", False, PropulsionType="BatteryElectric")
Source code in src\py_canoe\canoe.py
1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 | |
set_channelUsage(channel_type, channel_count)
sets the number of channels of a specific type.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 | |
set_configuration_modified(modified)
Change status of configuration.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1301 1302 1303 1304 1305 1306 1307 | |
set_environment_variable_value(env_var_name, value)
Sets the value of an environment variable.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 | |
set_hardware_channel(app_channel, channel, bus_type=BusType.CAN)
Map CANoe logical app_channel (0, 1, ...) to a physical hardware
channel returned by :meth:get_hardware_channels.
Example::
chs = app.get_hardware_channels(BusType.CAN)
app.set_hardware_channel(0, chs[0], BusType.CAN)
Source code in src\py_canoe\canoe.py
1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 | |
set_j1939_signal_value(bus, channel, message, signal, source_addr, dest_addr, value, raw_value=False)
Sets the value of a J1939 signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 | |
set_measurement_index(index)
Sets the measurement index.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 | |
set_replay_block_file(block_name, recording_file_path)
Sets the replay block file.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
773 774 775 776 777 778 779 780 781 782 783 784 | |
set_rt_kernel_architecture(arch)
Sets the RT Kernel architecture (0=32-bit, 1=64-bit).
Source code in src\py_canoe\canoe.py
1665 1666 1667 1668 | |
set_signal_value(bus, channel, message, signal, value, raw_value=False)
Sets the value of a signal.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 | |
set_system_variable_array_values(sys_var_name, value, index=0, enable_events=True)
Sets the values of a system variable array.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 | |
set_system_variable_value(sys_var_name, value, enable_events=True)
Sets the value of a system variable.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 | |
start_export(logger_index)
Starts the export/conversion of exporter.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1281 1282 1283 1284 1285 1286 1287 | |
start_measurement(timeout=30)
Starts the measurement.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 | |
start_measurement_in_animation_mode(animation_delay=100, timeout=30)
Starts the measurement in animation mode.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 | |
start_stop_online_logging_block(full_name, start_stop)
start / stop online measurement setup logging block.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 | |
step_measurement_event_in_single_step()
Steps the measurement event in single step mode.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1432 1433 1434 1435 1436 1437 1438 1439 | |
stop_all_test_configurations()
stops execution of all test configurations available in test setup.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
844 845 846 847 848 849 850 | |
stop_all_test_environments()
stops execution of all test environments available in test setup.
Source code in src\py_canoe\canoe.py
1022 1023 1024 | |
stop_all_test_modules_in_test_env(env_name)
stops execution of all test modules available in test environment.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
1010 1011 1012 1013 1014 1015 1016 | |
stop_ex_measurement(timeout=30)
Stops the measurement.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 | |
stop_measurement(timeout=30)
Stops the measurement.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 | |
stop_test_configuration(test_configuration_name)
stops execution of a specific test configuration.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
878 879 880 881 882 883 884 885 886 887 | |
stop_test_module(test_module_name)
stops execution of test module.
| Parameters: |
|
|---|
Source code in src\py_canoe\canoe.py
985 986 987 988 989 990 991 | |
ui_activate_desktop(name)
Activates a desktop by name.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 | |
ui_open_baudrate_dialog()
Opens the baudrate dialog.
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1579 1580 1581 1582 1583 1584 1585 1586 | |
write_text_in_write_window(text)
Writes text in the write window.
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in src\py_canoe\canoe.py
1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 | |