12-29-2016 02:57 AM
I don't know if this applies to Linux and cDAQ, but i remember several cases where overlapping front panel objects and transparancy caused a lot of redraws hogging the CPU, could this be the case? Basically each redraw triggered a dirty bit causing it to redraw again.
/Y
01-08-2017 01:40 PM
You could be on to something... I definitely think there is something going on with controls or indicators. I just cant put my finger on it exactly. I have been on leave for a few weeks so will get back into it and see if I can narrow it down some more.
01-08-2017 09:54 PM
The problem was two indicators that used transparency!!! Replaced them with standard indicators (one string, one numeric) and dropped CPU use by 110%/200%
01-09-2017 02:25 AM
They might not need replacing, but if they're both transparent and overlapping seems to be the cause. I'm glad you got it to work!
/Y
01-11-2017 03:17 PM
I'm a bit interested in this because I'm also working with the same controller. Is this with the embedded UI enabled, or is high CPU usage seen even when the embedded UI is disabled?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-11-2017 07:23 PM
Using an embedded UI. 1920x1080 screen plugged into cDAQ 9132s display port. I am now down to a typical CPU use of 60-70% combined CPU use which is not bad. The OS on its own seems to use about 40-50%. When we use the IP camera, it taps the CPU out if you try use high resolution (1024x768) or frame rate (20Hz). NI support have confirmed that this is just the way it is!
01-12-2017 07:38 AM
Thanks for the info, those all seem like higher values than I'd expect. Sure these are just atom based processors and I can't predict what it would do with a camera at those rates and resolutions without any graphical processor for encoding. But for just the OS I'm looking at between 10% and 20% with the embedded UI disabled. With it enabled, and on a relatively low resolution monitor, I'm probably between 20% and 30% running no code. Maybe having a 1080 monitor really is a big effort to for the CPU.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-12-2017 09:11 AM
What happens if you lower the colors to 16 or 8 bit on desktop?
/Y