Hello,
I tried to use DAQ Assistant to generate a digital output (1 sample on demand) and at the same time acquire an analog input from loadcell (continuous sample at 10K), but the analog input causes my while loop to slow down.
Generally, I want to turn on a valve with digital output at 10ms and keep it on to 600ms then turn it off for 400ms and repeat it ten times. Also, I want to read my loadcell data during this time at 10k. When I tried to put both DAQ assistant in the same while loop and count the time, the analog input DAQ slows down my loop time counter and when I try to run then in two parallel loops, the analog input DAQ cannot run.
Would you please help me find the problem.
Thanks,
Mahsa