Communication Setup中VCDL与Python交互

发布时间 2023-11-17 09:25:31作者: 张一默

 

Application Moudles基础代码

import vector.canoe

@vector.canoe.measurement_script
class LinkToSigFile:

    # Called before measurement start to perform necessary initializations,
    # e.g. to create objects. During measurement, few additional objects
    # should be created to prevent garbage collection runs in time-critical
    # simulations.
    def initialize(self):
        pass
    
    #Notification that the measurement starts.
    def start(self):
        pass
    
    #Notification that the measurement ends.
    def stop(self):
        pass
    
    # Cleanup after the measurement. Complement to Initialize. This is not
    # a "Dispose" method; your object should still be usable afterwards.
    def shutdown(self):
        pass

关联文章

ElementTree读取Arxml - 张一默 - 博客园 (cnblogs.com)