LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Ability to run selected section of block diagram
PatNN
post Feb 1 2008, 02:28 AM
Post #1


I want a LabVIEW icon under my name!


Member
Posts: 3
Joined: 1-February 08
Member No.: 10650
Using LabVIEW Since:2001
LV:8.5 ,. ,.
United States Cameroon Nothing Selected


Ability to run selected section of the block diagram without having to run the entire VI. This would be a useful debugging feature.

Right now I have to select the portion I'm interested in, and create a new VI out of it (or a subVI, with the drawback that I can't easily undo the changes to the original VI)

Would be nice to just be able to select a section of the block diagram of interest, interactively initialize the inputs or optionally use the default values, and run it.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Feb 1 2008, 02:28 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Ton
post Feb 1 2008, 08:03 AM
Post #2


CCT It
*****

Premium Member
Posts: 1331
Joined: 13-June 05
From: Woerden, Netherlands
Member No.: 2399
Using LabVIEW Since:2001
LV:8.5.1 ,6.1 ,8.2.1
Netherlands hol_utrecht Nothing Selected My Blog My Gallery


QUOTE (PatNN @ Feb 1 2008, 03:28 AM) *
Ability to run selected section of the block diagram without having to run the entire VI. This would be a useful debugging feature.

Right now I have to select the portion I'm interested in, and create a new VI out of it (or a subVI, with the drawback that I can't easily undo the changes to the original VI)

Would be nice to just be able to select a section of the block diagram of interest, interactively initialize the inputs or optionally use the default values, and run it.

Well that is why you put stuff in one VI, to do unit tests and stuff.

Ton

--------------------
Certified LabVIEW Developer
Shouldn't you be programming a Code Repository solution?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Phillip Brooks
post Feb 1 2008, 11:39 AM
Post #3


Extremely Active
****

Premium Member
Posts: 688
Joined: 3-November 04
From: Boston, MA
Member No.: 949
Using LabVIEW Since:1999
LV:7.0 ,8.20 ,8.0
us_massachusetts France Thailand My Gallery


QUOTE (PatNN @ Jan 31 2008, 09:28 PM) *
Would be nice to just be able to select a section of the block diagram of interest, interactively initialize the inputs or optionally use the default values, and run it.


You can create a sub-vi from a section of a block diagram. The input and output connectors will be created for you.

--------------------



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
jzoller
post Feb 1 2008, 03:45 PM
Post #4


Very Active
***

Member
Posts: 78
Joined: 12-October 04
Member No.: 793
Using LabVIEW Since:2002
LV:8.2.1 ,7.1 ,6.0.2
United States us_colorado Nothing Selected


I have to agree with PatNN on this one. That would be a feature I would use.

On a more general note, workarounds != native support, and should never be used as an excuse for not providing native support for good features.

Joe Z.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
JoeLabview
post Feb 1 2008, 11:07 PM
Post #5


Very Active
***

Member
Posts: 74
Joined: 25-August 05
From: Ottawa, ON Canada
Member No.: 2829
Using LabVIEW Since:1993
LV:8.20 ,7.1 ,6.1
Canada Canada Canada


QUOTE (tcplomp @ Feb 1 2008, 03:03 AM) *
Well that is why you put stuff in one VI, to do unit tests and stuff.

Ton



Yes, in 90% of the cases, I agree.

Strangely enough, I just posted a similar feature request at another forum wink.gif
There are cases where you have to test your vi as embedded into the final code, but don't want to run the entire thing to get to where you want to be...

Now, you have to remember, this is the "Wish List" section... I'm sure this feature would be a sunnovogun to implement... But hey, we gatta keep them NI folks busy!..

Good suggestion!

smile.gif


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Daklu
post Feb 19 2008, 07:33 PM
Post #6


Very Active
***

Member
Posts: 115
Joined: 26-January 07
From: Seattle, WA
Member No.: 7603
Using LabVIEW Since:2006
LV:8.20 ,. ,.
United States us_washington Nothing Selected


QUOTE (PatNN @ Jan 31 2008, 06:28 PM) *
Ability to run selected section of the block diagram without having to run the entire VI. This would be a useful debugging feature.


I'd be thrilled if I could simply ignore sections of code while I'm debugging. For instance, if I'm stepping through code that contains parallel loops I'm constantly being shifted around the block diagram to view the next code step when I'm only interested in the code in *this* loop. It gets frustrating.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Feb 19 2008, 08:11 PM
Post #7


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3740
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Daklu @ Feb 19 2008, 02:33 PM) *
...if I'm stepping through code that contains parallel loops I'm constantly being shifted around the block diagram to view the next code step when I'm only interested in the code in *this* loop.


So you want a diagram disable structure that disables the code outside the structure, instead of inside it? That's a freakin' awsome idea! thumbup1.gif

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Daklu
post Feb 20 2008, 05:18 AM
Post #8


Very Active
***

Member
Posts: 115
Joined: 26-January 07
From: Seattle, WA
Member No.: 7603
Using LabVIEW Since:2006
LV:8.20 ,. ,.
United States us_washington Nothing Selected


QUOTE (crelf @ Feb 19 2008, 12:11 PM) *
So you want a diagram disable structure that disables the code outside the structure, instead of inside it? That's a freakin' awsome idea! thumbup1.gif

Wish I could lay claim to it, but that's actually the op's idea. It's a little difficult to explain what I'm asking for. I want to be able to select or otherwise indicate the code segment I am interested in. All the code is executed but only the selected code is "debugged." Any non-selected code that executes while I'm stepping through my selected code isn't highlighted, doesn't display values, doesn't change my view to that to that location, etc.

I created a vi that illustrates the problem I'm hoping this would address. Open the block diagram, click Highlight Execution, and step through the math loop.
Attached File(s)
Attached File  Selective_Debugging.vi ( 10.93K ) Number of downloads: 109
 


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Feb 20 2008, 04:03 PM
Post #9


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3740
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Daklu @ Feb 20 2008, 12:18 AM) *
Wish I could lay claim to it, but that's actually the op's idea.


Meh - I like my idea better wink.gif

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
robijn
post Feb 20 2008, 04:34 PM
Post #10


Very Active
***

Member
Posts: 165
Joined: 9-February 05
From: region Eindhoven, the Netherlands
Member No.: 1555
Using LabVIEW Since:2008
LV:7.1.1 ,8.5.1 ,8.2.1
Netherlands Nothing Selected Nothing Selected


I wanna change values in wires while debugging !

Joris


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Feb 20 2008, 05:17 PM
Post #11


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3740
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (robijn @ Feb 20 2008, 11:34 AM) *
I wanna change values in wires while debugging !

I wanna gold-plated toilet seat!

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
dbyers3
post Feb 20 2008, 05:31 PM
Post #12


Active
*

Member
Posts: 14
Joined: 7-June 07
From: Huntsville AL
Member No.: 8669
Using LabVIEW Since:2006
LV:8.2.1 ,. ,.
Nothing Selected Nothing Selected Nothing Selected


QUOTE (crelf @ Feb 20 2008, 11:17 AM) *
I wanna gold-plated toilet seat!


Try ebay.com I'm sure they have one. laugh.gif


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 22nd November 2008 - 09:19 AM