Only thing I can imagine from this is that you have a main VI, which has a
sub VI within it. You go into the sub VI and run it, no problem. You then
open the sub VI diagram and put breakpoints in. You press run, but you press
run on the *main* vi and not the *sub* vi. Breakpoints in the sub VI will
not have any effect until the main VI calls it.
Put the break points in and then make sure you press the run button of the
window that has the diagram with the breakpoints; this way you know you're
running the right program.
If I've got the wrong end of the stick, then as Gorka I suggest you post an
example somewhere along with instructions to reproduce the problem so we can
look.
Pawel Pocwiardowski
wrote in message
news:3BB2B56
A.687764BD@reson.dk...
>
>
> Gorka Larrea wrote:
> >
> > Even i didn't understand or the first answer is too obvious, excuse me
> > in any case, or correct me if necesary. What about looking at the
> > diagram?
>
> :), The thing is like follows: The diagram
> inside the vi runs when you whant it to run e.g. by clicking the
> go button. The situation what I am talking about is when your vi
> is inside other vi, and you just whant to go into this and double
> click on it. Then it runs something which is not connected with
> the diagram inside (no brakepoints work). What is more important
> majbe is that it runs only the very first time you click it. When
> you close the vi and click it once more it is not going to run.
> This is like initialisation action, and I can not figure out whre
> to find the commands and why it is going on.
>
> > To make a vi run when double clicked, you can check "run when opened"
> > option in vi setup.
>
> But it will run the vi every time I click it,as I supp
ose, this
> is not the problem here.
>
> Best regards
> PP