11-09-2021 08:01 AM
Hi,
I write a custom device which allow to prepare waveform, start DAQmx task and stop DAQmx task.
This custom device is similar to GitHub - NIVeriStandAdd-Ons/DAQ-Waveform-Function-Generator-Custom-Device.
It is inline custom devices with asynchronous loops.
The difference is that I add ability to start / stop DAQmx task (used for synchronization).
The problem is that I getting HP Count increased when DAQmx Stop Task is running.
Target rate is 1000 [Hz]. Measured execution time of DAQmx Stop Task is 5 [ms].
HW: cRIO-9040 and NI 9263 with Linux_x64.
Does anyone know why the HP Count is increasing and how to get rid of it?
As I understand it, the custom devices with asynchronous loops should not increase the number of HP Count.
Regards,
Jacek
Solved! Go to Solution.
04-01-2022 10:57 AM
Issue was caused by piece of code in synchronous loop.
Details in created task: