04-03-2015 09:09 AM
Hello All,
I have an issue where my program freezes/hangs as soon as it enters the daqmx Stop Task VI.
See the VI snippet below.
I have other data acquisition loops in the same vi but it's only this one (analogue input) which causes the program to hang.
It also happens if I take away the Stop Task and leave the only the Clear Task.
Seems as if there's something related to that particular task which causes it to take a long time to clear the task.
Any suggestions would be great help.
Thanks
Rhys
04-05-2015 12:38 PM
What DAQ hardware do you use? Can your single module (cDAQ1Mod1) simultaneously measure voltage and current? Before the while loop you configure 8 voltage AI, and 8 current AI DAQ, but in your while loop you only read the voltages as I see?
Since you do not show the whole code, I am not sure what is wrong...Are you sure the DAQmx Stop task / Clear task make your VI hang?