12-17-2015 09:47 AM - edited 12-17-2015 10:16 AM
I am looking at the LabVIEW 'Real-Time Control on CompactRIO (RIO Scan Interface)' example. This example has a real time part, but there is also a que in it for error handling. If I read the documentation on real time loops RT fifo's are recommend in real time loops. As shared resources can influence the determism of the application. I was wondering if this is the case here. The que will only be used when an error or warning is generated. But it has an option to log warnings. If you have then a deterministic loop were component generates a unimportant warning then your determism of the loop is gone right?
EDIT: this thing does off course nothing with warnings. So only with errors determism is disturbed.
12-22-2015 07:57 AM
Hello LennartM,
You are correct that RT FIFOs are recommended when streaming data or sending messages if you need determinism, and that queues do not provide determinism.
Please have a look at the following KB:
http://digital.ni.com/public.nsf/allkb/7AE7075AF1B2C58486256AED006A029F
What is the difference between RT FIFOs and Queues?
Functionally, RT FIFOs and LabVIEW Queues are both First-in, First-out buffers. However, the following are the major differences between them:
I am unable to locate the specific example you are refering to. Could you please specify the full name and location of the example so that I may have a look at it? Thank you.
Also, keep in mind that not all cRIO examples are written with determinism in mind.
Best regards,
Christopher