LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV2011 bug - Error wired to boolen function breaks when saving for previous version

Solved!
Go to solution

I just downloaded LabVIEW 2011 this morning. I created this VI and saved it for LV2010 to see how it would deal with it. I opened the VI in LabVIEW 2010SP1 and the error wire is broken. There were no warnings about problems saving this VI as an earlier version.

 

Boolean 2011.PNGBoolean 2010.PNG

 

 

=====================
LabVIEW 2012


0 Kudos
Message 1 of 18
(3,891 Views)

Hello Steve,

 

Connection or error wire directly to logic function is the feature of LabVIEW 2011 and is not supported in older versions. In order to connect error wire to a logic function in older versions you need to unbundle error cluster and then connect status from that error cluster to a logic function.

 

Best Regards,

Gregor Cerne

0 Kudos
Message 2 of 18
(3,854 Views)
Understood. But should LabVIEW2011 do that for me when I backsave?
=====================
LabVIEW 2012


0 Kudos
Message 3 of 18
(3,839 Views)

Hello Steve,

 

Unfortunatelly not, because there is no option to save VI into previous version VI.

 

But you can post your idea here and our R&D will take a look at your proposal:

http://forums.ni.com/t5/NI-Idea-Exchange/ct-p/ideas

You can see near your post how many kudos you got from other users - more the kudos you have more probable is that your feature will be in the next edition of LabVIEW

 

Best Regards,

Gregor Černe

0 Kudos
Message 4 of 18
(3,824 Views)

Things like this are, unfortunately, just a fact of life in a "constant improvement" design scheme. When the Event Structure came out in version 7, I had to avoid it for years because I continually had to make code for 5.1 and 6.i. Similarly, I loaded some code the other day and LV told me it was "too old". Smiley Happy There's no stopping Progress!

Richard






0 Kudos
Message 5 of 18
(3,813 Views)

@Gregor Cerne wrote:

Hello Steve,

 

Unfortunatelly not, because there is no option to save VI into previous version VI.



Huh?

 


 But you can post your idea here and our R&D will take a look at your proposal:

http://forums.ni.com/t5/NI-Idea-Exchange/ct-p/ideas

You can see near your post how many kudos you got from other users - more the kudos you have more probable is that your feature will be in the next edition of LabVIEW


Oh, trust me, Steve is quite aware of the Idea Exchange: http://forums.ni.com/t5/forums/searchpage/tab/message?filter=location&location=Board%3Alabviewideas#...

0 Kudos
Message 6 of 18
(3,812 Views)

So is this a bug? I thought that new features were somehow backsaved. I also thought that if the version you are saving for is incompatible with the code you should at least get a warning.

=====================
LabVIEW 2012


0 Kudos
Message 7 of 18
(3,790 Views)

I would not consider this to be a "bug".

I would call it rather an "incomplete feature" were the extra-mile (backwards compatibility) is not fully implemented. So filing a suggestion is really the best thing to do (i will not file one since it is your idea, but i will kudo it!).

 

Saving VIs to previous versions does not change the BD itself. The requested functionality would require BD analysis and inserting (per scripting) an unbundle into the error wire. This is a complete new functionality, at least i am not aware that this is happening anywhere else....

As a "part time solution" i would like to see a BD analyzer which warns you about possible issues during downconvert. So in your case an "errorlist entry" like:

Warning: Connecting the error cluster to boolean functions is a new feature to LV 2011. Saving for previous version will lead to a broken VI.

 

just my 5 cents,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 8 of 18
(3,779 Views)

Thanks Norbert. It is done.

=====================
LabVIEW 2012


0 Kudos
Message 9 of 18
(3,770 Views)

@Norbert B wrote:

Saving VIs to previous versions does not change the BD itself. The requested functionality would require BD analysis and inserting (per scripting) an unbundle into the error wire. This is a complete new functionality, at least i am not aware that this is happening anywhere else....



I would consider the behavior inconsistent. The reason I say this is because Saving VIs to previous does change the Block Diagram with the merge error change in 2010. If you back save a merge error it gets replaced with a build array and the old Merge Error VI and the VI is not broken.

0 Kudos
Message 10 of 18
(3,761 Views)