09-14-2023 08:17 AM
Using:
Python3.8
nidaqmx_0.6.3
CPU: i5-1135G7
I have a pc reading/writing/logging to a USB controlled DAQ. In my program, I use the subprocess lib once to obtain a git hash of my program, I have two threads spawned to communicate via USB to two other devices. The tipping point of crashing my program is when I add the subprocess lib call. By process of elimination, it seems that the nidaqmx input and output tasks are the culprit.
I know the nidaqmx lib invokes C++ code. I'm guessing this is where the hogging comes from, due to python being interpretive and how nidaqmx is implemented. Any recommendations on options to fix this? I currently have a separate task for input and output. Does nidaqmx support combining the two?
09-20-2023 08:51 AM
This seems to be related to this git issue. Does anyone have a solution?