09-01-2005 05:41 AM
09-01-2005 06:07 AM
hi there
- timed loops are not deterministic! are you using the TCL/NPL structure in your code?
- are there any error codes returned by the timed loops? whats the wakeup reason properties value?
- what about different offsets for each loop for decoupling?
- consider to minimize the number of loops
best regards
chris
09-04-2005 01:11 AM
I was of the understanding that timed loops ARE deterministic
the loops are all normal priority, and without putting them into sub-vi's, it would be hard to make some of the loops TCL and not others. The reason all the loops are in the same vi is because I am using the 'stop timed loop' vi to control stopping of all the loops.
None of the loops are returning error codes, nor are they intentionally offset to decouple timing. The only loop that needs to be deterministic is the 900000ms loop.
Something that I should mention is that I am currently not building a standalone vi, but just running the VI from the laptop over an Xover cable targeting the c-FP. THis is so I benefit from the automatic inclusion of communication VI's. I close Labview with the 'Exit without closing RT engine VI's' option, so the VI's are still runningn on the Fieldpoint without the laptop connected. I suspect this may be slowing the loops, does this process use RT FIFOs to pass communication values?
All suggestions appreciated!
Regards, David Williamson
09-04-2005 02:19 AM
09-04-2005 07:32 PM - edited 09-04-2005 07:32 PM
Message Edited by DavidT on 09-05-2005 11:34 AM
09-04-2005
09:35 PM
- last edited on
11-25-2025
09:39 AM
by
Content Cleaner
Further to the message above, take a look at this link for developing RT applications on Fieldpoint.
http://zone.ni.com/devzone/conceptd.nsf/webmain/60644843D0C0395286256D17007FF5FD
09-05-2005 12:50 AM
09-05-2005 01:21 AM
09-05-2005 02:35 AM
09-05-2005 08:50 PM