06-17-2025 09:19 AM
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:
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.
06-20-2025 08:55 AM
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
06-20-2025 03:06 PM
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?
06-23-2025 06:35 AM
Hi littlesphaeroid,
Can you provide your LabVIEW code snippet, how you do it programmatically?
Best Regards,
Sofi