LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Single step in LabWindows/CVI

I can insert break points in my code, but I would like to be able to single step through the code once it is stopped at a break point. Is this possible? If so, how??
Thanks,
Peggy
0 Kudos
Message 1 of 5
(2,775 Views)
Just look under the Run menu option.

Peggy wrote:
> I can insert break points in my code, but I would like to be able to
> single step through the code once it is stopped at a break point. Is
> this possible? If so, how??
> Thanks,
> Peggy
0 Kudos
Message 2 of 5
(2,775 Views)
Thanks, but that doesn't help me. I still can't figure out what option allows single stepping!
0 Kudos
Message 3 of 5
(2,775 Views)
Peggy,

There are 3 functions that you use for stepping into the code. First you need to break the execution with a breakpoint or by manually breaking the execution in the CVI window.

Once the execution is halted in CVI 7 there are 5 functions to navigate through the code; you can access them from the menu or from the toolbar, they are between the "go" and "stop" buttons. Here is a short explanation on this:

  • Go To Cursor: Executes until the code reaches the current cursor position
  • Set Next Statement: Sets the next statement (allows you to go back in the code)
  • Step Into: Single stepping and going into the code for each function.
  • Step Over: Single stepping without going to the code behind a function.
  • Finish Function: Executes u
    ntil it finds the end of that function.


You can find a more in depth description of this in the CVI help.

I hope this helps.

Regards,

Juan Carlos
N.I.
Message 4 of 5
(2,775 Views)
Yes, this does help. The big 'ah ha' light just went on. Thanks!
Peggy
0 Kudos
Message 5 of 5
(2,775 Views)