03-07-2007 11:29 AM
03-08-2007 06:09 PM
03-08-2007 08:14 PM
Hello Robert,
I cannot tell you how much I appreciate your answer and the fact that you are doing what I am doing 🙂
It is very late in Norway now, and I am tired. I am sitting here running a test that I wrote where I measure the "determinism" of the system using 6 parallel processes:
- Process 1 Pulse DO-0 high for 100 msec, then go low for 1500 msec: DO-0 is hooked up to DI-0 (High Prior)
- Process 2 reads DI-0 and writes its value to DO-1 in a loop that pauses for 5 msec. (High Prior)
- The 4 other processes do similar stuff with other channels, but are only there to pose more load on the system (High Prior)
- I also have a communication process that using Shared Variables communicate som status to the Host every 500 msec. (Normal Prior)
I measure the time delay from DO-0 Hight to DO-1 High. I subtract these two signals on my Digital Yokogawa DL 1620 scope and ask it to calculate max, min and stdv of the signal: So far it says 12.46 min and 12.55 max so the jitter is small.
I am currenty using "Wait until next MS" and set up the timings so that everything tries to rund at the same time. This gives more consistent timings it turns out.
I tried to use just Wait which would tend to scatter the run of each process out over the cycle time: This however effectively "locked out" communication process and also caused much more jitter: from 6.5 msec to 10 msec.
I will let the test run tonight and continue testing tomorrow. Will keep you updated.
Would also appreciate if an NI Engineer could comment on this !
03-11-2007 05:07 PM
Rob,
I have posted a message with a link to a white paper on the subject.
See this post: http://forums.ni.com/ni/board/message?board.id=110&message.id=5535