04-01-2019 02:30 PM
We have a pressure test stand and are using the cDAQ-9133 Real-Time. The cDAQ is freezing at times and slowing down at times. We are collecting about 25 data points every 100mS. I seem to remember that the graphics capabilities of the Real-Time controllers can be overwhelmed, so I am looking for some insight.
The embedded VI has 11 tabs and probably one hundred (100) Numeric Displays and Entries. Three of the tabs have two graphs each. We are also writing to 11 shared variables that are arrays containing maybe 16 data points.
Any ideas as to whether its the graphics causing the issue?
04-02-2019 10:19 AM
Hi,
It is definitely possible that it is the graphics that are slowing things down. If the problem gets worse when you move your mouse around the screen, that's a good indicator that graphics are the problem. I would suggest trying to defer panel updates and see if that improves performance.
http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/pnl_defer_pnl_updts/
04-02-2019 10:35 AM
Thanks. We will give it a try.
04-10-2019 11:11 AM
We are having trouble wrapping our heads around the defer panel updates routine. Our data collection lasts for a week. While we do not need to refresh our graphs and indicators every 100ms, we do need to see them. Therefore when we turn on the panel update, we will still have a slow down during that particular loop execution. Is that right?
04-11-2019 12:27 PM
If the root cause is indeed related to graphical updates then yes it will still slow down temporarily. This may or may not be an issue depending how much it slows things down.