![]() |
Apr 15 2008, 11:39 AM
Post
#1
|
|
![]() CCT It Premium Member ![]() Posts: 1258 Joined: 13-June 05 From: Woerden, Netherlands Member No.: 2399 Using LabVIEW Since:2001 LV:8.5.1 ,6.1 ,8.2.1
My Blog
My Gallery
|
It would be nice if I could set the conditional disable settings in the build settings.
This would allow for multiple build settings that could incorporate into a single project file. I have the feeling this can be done with separate lvproj files but that feels like a workaround. Any thoughts on this? Ton -------------------- Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Apr 15 2008, 11:39 AM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 12:55 PM
Post
#2
|
|
![]() Very Active Member Posts: 133 Joined: 29-May 07 From: Lansing, MI Member No.: 8614 Using LabVIEW Since:1997 LV:8.5 ,. ,.
|
I think it would be cool if the disable structure had an input like the Case structure i.e. boolean, enum, string, etc
Dan -------------------- Certified LabVIEW Developer
NI Alliance Member Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 01:15 PM
Post
#3
|
|
![]() CCT It Premium Member ![]() Posts: 1258 Joined: 13-June 05 From: Woerden, Netherlands Member No.: 2399 Using LabVIEW Since:2001 LV:8.5.1 ,6.1 ,8.2.1
My Blog
My Gallery
|
I think it would be cool if the disable structure had an input like the Case structure i.e. boolean, enum, string, etc What kind of usage does this have over the current disable structure? Ton -------------------- Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 01:42 PM
Post
#4
|
|
![]() Very Active Member Posts: 133 Joined: 29-May 07 From: Lansing, MI Member No.: 8614 Using LabVIEW Since:1997 LV:8.5 ,. ,.
|
The advantage would be I could understand how it works. I haven't been able to understand the conditional disable strucure.
Granted it doesn't take much to confuse me. Dan -------------------- Certified LabVIEW Developer
NI Alliance Member Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 03:56 PM
Post
#5
|
|
|
Extremely Active Premium Member ![]() Posts: 426 Joined: 2-February 05 From: Southern California Member No.: 1519 Using LabVIEW Since:2004 LV:8.20 ,7.1.1 ,8.0.1
|
It would be nice if I could set the conditional disable settings in the build settings. This would allow for multiple build settings that could incorporate into a single project file. I have the feeling this can be done with separate lvproj files but that feels like a workaround. Any thoughts on this? Ton I also have wanted this, and made a feature request for it a while ago. Seems like a pretty reasonable request. Conditional disable flags affect the entire project, and the build settings build the project into an executable. Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 04:49 PM
Post
#6
|
|
![]() Extwemely Active Premium Member ![]() Posts: 1551 Joined: 23-January 05 From: Here Member No.: 1431 Using LabVIEW Since:2003 LV:7.0 ,7.1 ,.
|
The advantage would be I could understand how it works. I haven't been able to understand the conditional disable strucure. You set symbols for the entire project (by right clicking on the project in the project tree, if memory serves) and then you choose one of the symbols to switch all the structures throughout the project. I assume the help for the structure covers this in more detail. -------------------- More than meets the eye...
Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 05:09 PM
Post
#7
|
|
![]() Very Active Member Posts: 133 Joined: 29-May 07 From: Lansing, MI Member No.: 8614 Using LabVIEW Since:1997 LV:8.5 ,. ,.
|
Wow I never realized it was tied to the project. No wonder I missed that. Thanks!
Learn something new every day -------------------- Certified LabVIEW Developer
NI Alliance Member Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 05:31 PM
Post
#8
|
|
![]() Very Active Member Posts: 66 Joined: 23-March 04 From: Wallingford, CT USA Member No.: 319 Using LabVIEW Since:2001 LV:8.5.1 ,8.2.1 ,7.0
|
You set symbols for the entire project (by right clicking on the project in the project tree, if memory serves) and then you choose one of the symbols to switch all the structures throughout the project. I assume the help for the structure covers this in more detail. Conditional Disable are project and target based. So you could have symbols just for specific targets or global symbols that effect all targets. Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 06:57 PM
Post
#9
|
|
![]() Extremely Active Premium Member ![]() Posts: 509 Joined: 18-October 05 From: Seattle, WA Member No.: 3266 Using LabVIEW Since:2005 LV:8.5 ,8.2.1 ,7.1.1
My Blog
|
I also have wanted this, and made a feature request for it a while ago. Seems like a pretty reasonable request. Conditional disable flags affect the entire project, and the build settings build the project into an executable. I agree So far I've just been having to remember to set the right conditional variables before I build (and make sure everyone els knows about them...) Setting this up as two builds inside the project would be cool... -------------------- Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 07:14 PM
Post
#10
|
|
|
More Active Member Posts: 41 Joined: 25-October 05 Member No.: 3343 Using LabVIEW Since:2006 LV:8.0.1 ,. ,.
|
Setting this up as two builds inside the project would be cool... Ditto, One case in point, I have two target test stands for automated testing as part of product delivery. One has additional functionality (mine) and the other has non-disimilar equipment performing the same task (theirs). In the mid-level equipment code, I have added Conditional Disables to handle the differences between the two test stands. Countless times, I went to deliver new code, only to realize that I forgot to change the Conditional Symbol. Having the Build Spec's handle this would certainly make multi-targetting much more streamlined. Unfortunately, I still follow the practice of Remove Symbol, Add Symbol. Tags
This content has not been tagged yet
|
|
|
|
Apr 15 2008, 09:02 PM
Post
#11
|
|
![]() Very Active Member Posts: 130 Joined: 6-March 05 From: Mountain View, CA Member No.: 1764 Using LabVIEW Since:1994 LV:8.5 ,. ,.
|
Ditto, One case in point, I have two target test stands for automated testing as part of product delivery. One has additional functionality (mine) and the other has non-disimilar equipment performing the same task (theirs). In the mid-level equipment code, I have added Conditional Disables to handle the differences between the two test stands. Countless times, I went to deliver new code, only to realize that I forgot to change the Conditional Symbol. Having the Build Spec's handle this would certainly make multi-targetting much more streamlined. Unfortunately, I still follow the practice of Remove Symbol, Add Symbol. I totally agree. We are actually reading the lvproj file (it's XML) and modifying the Conditional Disable symbols programmatically and then reloading the project so that we can build multiple flavors of our product. It's not terribly hard, but there should most certainly be VI server access to the symbols. Tags
This content has not been tagged yet
|
|
|
|
Apr 16 2008, 05:47 AM
Post
#12
|
|
![]() CCT It Premium Member ![]() Posts: 1258 Joined: 13-June 05 From: Woerden, Netherlands Member No.: 2399 Using LabVIEW Since:2001 LV:8.5.1 ,6.1 ,8.2.1
My Blog
My Gallery
|
Unfortunately, I still follow the practice of Remove Symbol, Add Symbol. You can just use a Symbol Setup with a string mine and theirs. In your code you use the same symbols with these values. Or just use mine and default. ... there should most certainly be VI server access to the symbols. Well I don't think that's necessary, changing the Conditional Disable Symbol forces a recompile of the code. That means all of the code inside the project shouldn't be running, which can be a challenging task. The possibility to select another lvproj for a build is probably intended to cover this gap. But an additional page in the build settings is preferable. This item shows a problem in my developing workflow. I considered the lvrproj file as code independent. But now it seems like it is tied to the code as well, and should be checked in and out. Ton -------------------- Tags
This content has not been tagged yet
|
|
|
|
Apr 16 2008, 02:48 PM
Post
#13
|
|
|
More Active Member Posts: 41 Joined: 25-October 05 Member No.: 3343 Using LabVIEW Since:2006 LV:8.0.1 ,. ,.
|
You can just use a Symbol Setup with a string mine and theirs. In your code you use the same symbols with these values. Or just use mine and default. Maybe I'm doing this wrong, but when I switch between conditionals, I right-click the project in the "Project Explorer" window and select "Properties..." In the "Conditional Disable Symbols" section, the only options I see are "Add" and "Remove Selected Items". So far, my only solution is to first remove my symbol, then re-Add it with a new value. Is there a cleaner way to change Symbols in a project? That would surely make my day. Cheers, -H Tags
This content has not been tagged yet
|
|
|
|
Apr 16 2008, 03:18 PM
Post
#14
|
|
![]() Extremely Active Premium Member ![]() Posts: 509 Joined: 18-October 05 From: Seattle, WA Member No.: 3266 Using LabVIEW Since:2005 LV:8.5 ,8.2.1 ,7.1.1
My Blog
|
So far, my only solution is to first remove my symbol, then re-Add it with a new value. I seem to remember this with LV8.0. Starting with LV8.2 (I think) you can double-click on the value you want to change in the list and edit it straight away. -------------------- Tags
This content has not been tagged yet
|
|
|
|
Apr 16 2008, 04:58 PM
Post
#15
|
|
|
More Active Member Posts: 41 Joined: 25-October 05 Member No.: 3343 Using LabVIEW Since:2006 LV:8.0.1 ,. ,.
|
I seem to remember this with LV8.0. Starting with LV8.2 (I think) you can double-click on the value you want to change in the list and edit it straight away. Even More reason for me to push (read: beg) for an upgrade. Thanks. Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | ||
|---|---|---|---|---|---|---|
![]() |