Fork me on GitHub

Communication Setup中VCDL与Python交互

 

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)

posted @ 2023-11-17 09:17  张一默  阅读(58)  评论(0编辑  收藏  举报