07-24-2013 04:21 PM
Hi,
With reference to the value of priority in a timed loop, the help says that this value must be between 1 and 65,535.
Anyone know what these limits are referred?
Thanks for your time...
Solved! Go to Solution.
07-24-2013 04:34 PM - edited 07-24-2013 04:36 PM
@amflores wrote:
Hi,
With reference to the value of priority in a timed loop, the help says that this value must be between 1 and 65,535.
Anyone know what these limits are referred?
Thanks for your time...
Timed loops run in a dedicated execution system at a priority above high priority but below "Time Critical" if there is more than one timed loop running the timed loops priority value is used to signal the OS which loop should get the larger amount of processor time. The lower the number the higher the priority requested. Some OS's even respect that number. Some do their own scheduling anyway.
07-24-2013 05:00 PM
Jeff,
thanks for your answer, but do you know where these numbers come?. I mean why the upper limit value is 65,535 and not 90,000 or 45,000
Thanks
07-24-2013 05:25 PM
Maximum for a U16: http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/numeric_data_types_table/
07-24-2013 05:30 PM
Thank you Chris, very clear.