07-13-2016 12:02 PM
Good day everyone,
A contractor recently developed a VI for the company I work for, and it required the use of the 2013 Report Generation Toolkit. After getting it installed, I could open the project and VI without any issues, but when ever I try to save or build the project, I am asked to save dozens of files from ..\vi.lib\addons\_office\word.llb and ..\vi.lib\addons\_office\_wordsub.llb\
I am using LabVIEW 2013 Professional. What could be causing this and are there any solutions?
Thank you for your time,
James
07-13-2016 12:05 PM - edited 07-13-2016 12:09 PM
Could it be trying to update the VIs from a previous version of LabVIEW?
If you're worried, perform a "Save As" on the VIs (with an added suffix) that show in your dependencies. I do this often when I know I want a specific version of a vi.lib VI after making a change.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-13-2016 01:19 PM - edited 07-13-2016 01:23 PM
Thanks for the reply James,
I'm not sure why it would think it needs to updated the VI's since I'm using LabVIEW 2013 and downloaded the 2013 version of Report Generation Toolkit. I did, however, notice from "Save As" that the new files was smaller than the orignial file.
If it's of any help, the explanations for the changes are "VI recompiled", "External component modified since last VI Save", for all of them, and additionally "Connector Pane modified" and "Name of location of VIs in the file system changed" for C:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\addons\_office\word.llb\Word Add New Document.vi
07-13-2016 01:24 PM
What version of MS Office are you using? Perhaps that is somewhat different than what version NI was using when they compiled and released that toolking. It seems like there are changes in ActiveX between office versions that can trigger changes in the VI's.
07-13-2016 01:25 PM
RavensFan,
Our work computers have Microsoft Office 2007 on them.
07-13-2016 01:32 PM - edited 07-13-2016 01:42 PM
I'm going to guess that my theory may be correct.
Office 2007 is about 9 years old. Since then 2010, 2013 were major releases that came out, and would both be in the timeline of the final development for LV 2013. That either of those would be "current" versions in line with LV 2013. And since them versions like 2015, 2016 where MS has started that Office 365 or subscription based versioning.
I don't use the toolkit much. So I havent' had a reason to throughly debug code using it, or to make sure the libraries have updated and been resaved. I do know that when we were using Office 2010 as our official version for many years after it came out, that when I opened user's VI's in more recent versions of LabVIEW, I would get prompted to save RGT VI's. Which I just generally ignored.
Next time you get prompted, look at the list of unsaved changes and see if it gives you a clue.
07-13-2016 02:26 PM
Every explanation contains "VI recompiled" and "External component modified since last VI Save".
Wether or not I allow the save, the CRC seems to change with every build. This isn't an issue experienced with other VI's that don't use the Report Generation Toolkit, so it it likely the culprit somehow.