LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save for Previous version for VIs from lvlibs stored to llb

I am working on a new release of my BundleMagic plugin and have a new build issue.

 

The build takes all files for the plugin and saves them to an llb (the traditional way these plugins are distributed). A post-build action then attempts to backsave the contents of the llb to LV2015, so it can be used in any version of LV that accepts popup menu plugins.

 

The issue is that if I have VIs in an lvlib (such as the openG libraries I'm using), and then save these to the llb, paths to these VIs arenot accepted by the Save.For Previous application method. I get LabVIEW: (Hex 0x7) File not found.

 

The file does exist, but in the llb so does its lvlib. I created a minimal example to demo:

 

littlesphaeroid_0-1750169203341.png

 

Note that the conversion can be done manually using the File menu. It just can't be accomplished programmatically. Here is what the file path looks like when found using the LV Path control  browser (and what it looks like when getting a list of all files in the llb programmatically: 

 

C:\Users\drwag\Documents\LabVIEW\...\test lvlib inclusion - Copy.llb\LSD_Application Directory__ogtk.vi

 

I don't know how this worked before. Maybe I used a previous version of LV where this didn't occur. I'd appreciate if anyone has an idea about how to go about converting the VIs in the llb to a previous version of LB, so I've included the llb of my minimum example.

 

 

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 1 of 4
(314 Views)

Hi littlesphaeroid,

 

Could you please clarify at which step the error is occurring? I’ve tested the process on my side by saving the VIs in the previous LabVIEW 15.0 version, and it worked without any errors.

Please let me know about the updates.

 

Best regards,

Sofi

0 Kudos
Message 2 of 4
(275 Views)

Hi Sofi, I hope I mentioned that this works manually, but not programatically. Were you able to test the conversion programmatically (get list of files and then use the Save.For Previous method on those file paths?

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 3 of 4
(259 Views)

Hi littlesphaeroid,

Can you provide your LabVIEW code snippet, how you do it programmatically?

 

Best Regards,

Sofi

0 Kudos
Message 4 of 4
(233 Views)