LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program stops automatically

Hi There,

 

    My program only excutes the first two frames of my sequence structure, and it turns off automatically. Why is that?

 

    Description of my program:

 

     I want to creat the X axis first in the second frame, the value of Y axis will be from DAQ... They are ploted in the XY graph in the last frame..

 

     Thanks

0 Kudos
Message 1 of 5
(2,617 Views)

What do you mean by "turns off automatically"?

 

What is the value going into the N terminal of the For Loop in the 3rd frame?  If it's zero, that loop won't run.

0 Kudos
Message 2 of 5
(2,615 Views)

Why is the sequence frame even there? It's not even necessary since your error clusters are enforcing execution order.

 

Also, you have a coding error in your case stucture. You are using "Use Default if Unwired" for the two arrays that are passed around in the shift register. In the False case this will clear the arrays. I'm guessing you don't want this, and those two tunnels should be wired through.

 

Oh, you might want to consider using that nifty diagram cleanup tool. Smiley Wink

0 Kudos
Message 3 of 5
(2,597 Views)
Stop means: the DAQ doesn't work, with the error code: -200279. why is that?
0 Kudos
Message 4 of 5
(2,572 Views)
Did you try right-clicking on the error cluster and select "Explain Error"? Did you try adding an error handler? Did you try a simple search? What it basically means is that you couldn't keep up with the acquisition. See, for example this KB article.
0 Kudos
Message 5 of 5
(2,569 Views)