03-11-2024 07:31 PM
I am trying to acquire analog signal as well as a counter input (for rpm measurement) and then generate a counter output (for sending PWM signals) all in the same vi and while loop. I have all in the same loop as I want the measurements to be synchronized. The counter input and output work fine in the same while loop but once I add the analog input task in the loop, I get only the analog input and the counter input tasks working with no response from the counter output task. I tried putting the counter output task in a separate while loop and even that did not work. Any suggestions as to how to resolve this?
03-12-2024 01:33 AM
Hi jkas,
@jkas wrote:
even that did not work. Any suggestions as to how to resolve this?
How should we help with a generic description like "does not work"?
Do you get any errors?
Why don't you cleanup your VI?
I usually recommend to use one loop per task, so I would use 3 loops for your 3 DAQmx tasks…