|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Looping?
Hi everyone, I need some help with this image processing script i've created. it loads the image and puts the information back to the crio fine, but I can't seem to loop it. This is my first time trying out labview and the thing i've had the biggest problem figuring out is execution order. In c++ its very linear, but I can't seem to figure out where execution starts or ends. Any help would be much appreciated!
|
|
#2
|
|||
|
|||
|
Re: Looping?
Execution order is largely determined by which nodes don't need data, or have all the data the need. They can run first and provide data downstream for the nodes that need more data values.
In addition, the structures such as the loop or case act as a node on the outside, but do special things to their inner diagram. What this results in is sequencing automatically when data is present and flowing, and parallelism when it is not. To your direct question, I think you want to draw a loop around the lower portion of the program, but not the client portion. You don't really need to include the create image, but it doesn't hurt. Greg McKaskle |
|
#3
|
|||
|
|||
|
Re: Looping?
Alright, I should have been more specific. The problem i'm having is that I push execute, and execution never stops (I intended to loop that segment, but I can't since it never stops executing).
Last edited by agartner01 : 29-03-2012 at 09:16. |
|
#4
|
||||
|
||||
|
Re: Looping?
I'm not familiar with the circled code, but from the icon, it appears to be a loop. Try excluding that from your while loop that you put in. I think that should work. |
|
#5
|
|||
|
|||
|
Re: Looping?
Quote:
Anyway, following you suggestions did work, thanks for the help! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|