Hi Andrew, Thanks for your reply, you are right, I missed the "sample" argument because I simplified my original function in order to isolate the issue but sure "sample" is not an issue. I already followed your suggestion and still not working: This is the function I am testing: procedure(dely3( signal1 signal2 thr samples simtime ) let( () xaxis=drCreateVec('double samples) dely_data=drCreateVec('double samples) for(i 1 samples drSetElem(xaxis i i) drSetElem(dely_data i delay(?wf1 signal1 ?value1 thr ?edge1 "either" ?nth1 i ?td1 0 ?tol1 nil ?wf2 signal2 ?value2 0 ?edge2 "falling" ?nth2 1 ?tol2 nil ?td2 -3.125e-11 ?stop simtime ?multiple nil)) ) drCreateWaveform(xaxis dely_data) )) I am sure the data and signals are right because I have developed other similar function but dumping xaxis and dely_data into a textfile and I am able to see the expected results. however I really would like to have a waveform among the outputs in order I can plot them across corners/sweeps in the Results Browser. Thanks and regards, Ivick.
↧