04-15-2021 08:12 AM
Hi,
I want to write a labview program where I can do analog voltage output with amplitude controlled by user.
I am not using Auto start here for Daqmx write.
This works fine unless I exit first loop with STOP button and the program executes the outer loop.
This time when it attempts Daqwrite, it gives error 200547.
Shouldn't "clear task" do its job and allow me to use Daqwrire again in this case?
T
Solved! Go to Solution.
04-15-2021 08:27 AM
You are not starting the task the second time the inner loop is called since First Call will return a FALSE. You should instead start the task if i = 0.
04-15-2021 08:27 AM
04-15-2021 09:17 AM
This is a test program to test the concept in a bigger project where , user runs multiple vi s one by one with radio button selection available and if results are unfavorable, then user can select and 1)run either the same vi , or 2)any other vi or 3)quit and execute next code if everything is fine. This happens repeatedly until user wants to quit and run next code thro' radio button selection. .The issue happening here is, a vi runs fine for the first run ,but when user wants to run it again , it gives me similar error as in the case of this vi here.