LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6001, error 200088.

Solved!
Go to solution

Hello everyone,

 

I am new in Labview. I am trying to generate ramp signal and dc signal simultaneously from my data acquisition device, which is USB 6001, and I use AO0 and A01 to do it. Actually somehow I succeed to generate the signals that I want. However after the program runs for a while, firstly it starts to stop generating the signal that I want and then give an error. The error code is 200088 and Possible reason: Task specified is invalid or does not exit.

I search for the error on forums. But unfortunately, I did not fix my problem even though I tried all that is writing on forums. If you know the problem, could you please help me?

 

I have attached the photo of my LabVIEW code.

 

Best regards,

Onur

Unbenannt.PNG

 

 

0 Kudos
Message 1 of 5
(3,818 Views)

Hello everyone,

 

I am new in Labview. I am trying to generate ramp signal and dc signal simultaneously from my data acquisition device, which is USB 6001, and I use AO0 and A01 to do it. Actually somehow I succeed to generate the signals that I want. However after the program runs for a while, firstly it starts to stop generating the signal that I want and then give an error. The error code is 200088 and Possible reason: Task specified is invalid or does not exit.

I search for the error on forums. But unfortunately, I did not fix my problem even though I tried all that is writing on forums. If you know the problem, could you please help me?

 

I have attached the photo of my LabVIEW code.

 

Best regards,

Onur

Unbenannt.PNG

 

 

0 Kudos
Message 2 of 5
(3,824 Views)
Solution
Accepted by topic author onurk.

1. Move your initialization to be outside of the loops.

2. Move your closing of the task to be after the loop.

3. You should use a Create DAQmx Task to initialize the shift register on your initialization loop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(3,785 Views)

Your team is best. My problem has been fixed.

Thank you so much!

0 Kudos
Message 4 of 5
(3,779 Views)

You can mark replies as solutions.

 

Glad things are working for you now, but I did want to point out that your outside loop will never run more than once. There is a while loop inside that is hard wired to never stop so I am guessing you are stopping it by hitting the stop button. You may want to rethink that and have a proper button to stop the while loop. 

0 Kudos
Message 5 of 5
(3,756 Views)