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)
标签:canoe,Python,Communication,Setup,measurement,Notification,pass,self,def From: https://www.cnblogs.com/YiMo9929/p/17837867.html