10-22-2022 09:30 AM
I have a project and I am trying to decide if I should be considering using LabVIEW RT.
It made me realise I don’t have a firm grasp of where the boundary for transition from LV to LV RT in terms of functionality and key issues to drive such a decision.
I would love some guidance on what I should be concerning.
Maybe
Number if sensors.
Polling rate.
Polling accuracies.
10-22-2022 03:07 PM
If you do a Google search for "LabVIEW Real-Time", you'll find some White Papers where NI discusses this. Here are (some of) the major points:
I've over-simplified things a bit, but do a little Web searching, talk to some colleagues, maybe give NI a call (though you should remember they are interested in selling hardware).
Bob Schor
10-24-2022 06:29 AM
Thanks for your reply Bob,
I am aware of the principles of what you have said, I did do real time programming several decades ago in C, but that was not due to timings or determinism but due to working on embedded systems.
I'm am looking at a fairly typical data logging system low MHz at most typical checking level for alarm type thing and something somebody said to me pushed me towards a RT solution, but my inner voice is strongly pushing back saying I do not need that level of control for this project.
It is your second and third points, I am trying to get some real feel for. So at what point does the measurement "jitter" and multitasking provided by a modern PXI controlled running Windows, no longer, meet my requirements.
Obviously I need to do more reading.
10-24-2022 06:45 AM
Think for yourself "When will Windows (or the Network Administrator) schedule something (anti-virus scan, Windows Update, etc.)" and steal time/cycles away from your running task. If the answer is "almost never" or "I can live with the task going offline for a few hours or a day before I notice it isn't running", then running your task under Windows (as opposed to a Real-Time OS) may be OK. But if you need the basic task to run 24/7, 365, and can configure it to run "mostly headless" (i.e. if the Host, running Windows, dies or gets rebooted, the RT Task running in the PXI (running not Windows, but NI Real-Time Linux!) can keep running).
To be honest, I've never understood the logic behind purchasing a fancy PXI-based system that has Windows as the OS in the controller. Yes, you do have a fast backplane, and good clocking, but you also have Windows OS "in charge" of the System clock. I'm not even sure if the Timed Loop can be counted on to be accurate in this situation (I'm sure someone on this Forum can set me straight on this ...).
Bob Schor