03-14-2007 06:39 PM
03-16-2007 08:35 PM
Hi Martin,
1. Maybe I am mistaken, but the first solution (send.vi) is actually the
solution with the timed loop in it. Though the timed loop appears to be
more precise, in LabVIEW running on a Windows machine, this is not necessarily
the case. Just because you are using a timed loop does not mean that
Windows will not have a process that can preempt that loop.
2. Using LabVIEW Real-Time on a Real-Time system (not running Windows),
you will be able to achieve more deterministic behavior.
3. From your code, I cannot see why the first run does not execute as
expected. The run can complete before the expected time for various
reason. If you are saying that it isn't executing as expected, this could
be a reason for it to calculate the incorrect expected end time.
4. There is no way to make sure that the VI is not
disturbed by Windows or the user during the sending of pulses? That is
why it is recommend that LabVIEW Real-Time be used for deterministic
applications.
Best of luck on your application, and please let me know if
you have further questions.
Regards,
03-19-2007 12:32 PM
03-20-2007 08:01 PM - edited 03-20-2007 08:01 PM

Message Edited by Simon H on 03-20-2007 08:02 PM
03-21-2007 03:29 PM
03-22-2007 08:40 PM - edited 03-22-2007 08:40 PM
Message Edited by Simon H on 03-22-2007 08:40 PM
Message Edited by Simon H on 03-22-2007 08:42 PM
04-04-2007 12:29 PM
04-05-2007 08:51 AM
Martin:
Please post what you find when you try your code on a real time system.
Regards,
Rudi N.
04-05-2007 02:15 PM
04-05-2007 03:00 PM