capl - Error: system event handler not allowed in test module -


when run script following error,

compiling file 'zts_zero_to_sixty_analysis.can'
error 1176 @ (54,1): system event handler not allowed in test module or test units.
error 1176 @ (290,1): system event handler not allowed in test module or test units.

these line right @ "on start" , "stopmeasurement". however, when program node in cannalyser, include these scripts , compile them in canalyzer, not give me error.

so ignore these errors appearing in capl compiler since not impede running of scripts, still know why capl compiler throws these errors.

why these errors thrown?

it important understand in test environment, can not use system event handler. tests made organize , make modular version of capl script ensure test environment managed.

so in short :

simulation node : event-based, used sandbox test nodes.

test node : modular, has beginning , end within measurement.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -