10-26-2015 03:02 PM
I'm trying to save a very simple VI from LabVIEW 2013 SP1 to LabVIEW 2009 but I'm getting this strange error. The VI contains only fundamental primatives that are available in all versions of LabVIEW (Logical Shift, AND, Select, <=, U8). When I try to save it for LabVIEW 2009, it gives me the following warning:
Missing Object. The object "Attachment" does not exist in the previous version.
I first suspected it had to do with being owned by a lvclass but even after I removed it from the class (and disconnected it from the lvclass) it still gives me this warning.
When I try to open it with 2009, it fails to load the block diagram (error 6).
The next thing I tried was to copy the block diagram to a new VI and re-create the connector pane but this didn't change anything.
Any ideas?
Solved! Go to Solution.
10-26-2015 03:20 PM
10-26-2015 03:56 PM
Maybe "attachment" is referring to an attached comment (the arrow from a free label to an object on the diagram). I wouldn't expect the presence of attached comments to cause an SFPed VI to fail to open, but that's the only thing I can think of. Try removing any attached comments in your diagram and SFPing and see if that solves the problem.
10-26-2015 04:23 PM
It is extremely difficult to tell what part of your VI is giving you difficulty without seeing the VI itself! Please attach the VI, and when we try to convert it to LabVIEW 2009, maybe we'll "get a clue" to your problem and can suggest a solution.
Bob Schor
10-26-2015 04:37 PM - edited 10-26-2015 05:00 PM
Removing the arrow from my free label solved the "attachment" warning. It still fails to open in LV2009.
Attached is the problem VI in its original source (LV2013 SP1).
Thanks for the prompt responses!
EDIT: I accepted the removing of the arrow as the solution since that fixed the error listed in the thread title.
10-26-2015 04:41 PM
I don't have LabVIEW 2009 installed, but LabVIEW 2015 "says" it did the conversion -- see if this works for you.
Bob Schor
10-26-2015 04:51 PM
10-26-2015 04:53 PM
That worked. I just remembered that I have LV2014 installed and it seems to work. I guess if this situation ever arises again, I'll have to use LV2014 (if I have it installed at the time).
10-26-2015 04:56 PM - edited 10-26-2015 04:57 PM
@GerdW wrote:
Hint: Sometimes I like to use SplitNumber functions when it comes to split bytes from (long) words…
Thanks for the tip. I'm not sure why I didn't think of it when working with this VI in previous projects since we use the split number primitive all the time.