請問如何準確的控制sample time

這是ㄧ個function Generator的程式0912fountion generator.vi

其中sample time 與time好有些問題就是說當我希望程式執行10秒

但是實際執行程式的時間卻不ㄧ定是10秒

請問要如何真正的控制波形產生的時間與sample time![](upload://fpwBNtcMHEPUs4ZDavkdtnV05y1.jpeg)