gammalight Posted December 7, 2007 Report Share Posted December 7, 2007 Hello, to explain my situation relatively quickly, I have helped write software using Labview 8.2 which basically collects data and writes an excel report and then converts that file to a pdf. The software, when installed on the computer, runs fine, no errors. The computer that the software is on is required to have a program called Secure Desktop (Visual Automation) so the operator of the computer can only access the Labview executable. With Secure Desktop configured and running, I suddenly get an error during my report writing routine saying "file is open" in one of my sub vi's. Has anyone ever used Secure Desktop that has had this problem before or can help me resolve this issue? Quote Link to comment
Michael Aivaliotis Posted December 7, 2007 Report Share Posted December 7, 2007 It sounds like the Secure Desktop app is preventing file access. Perhaps you can look at your secure desktop settings to se if You can allow LabVIEW access to the required files. Quote Link to comment
gammalight Posted December 7, 2007 Author Report Share Posted December 7, 2007 QUOTE(Michael_Aivaliotis @ Dec 6 2007, 03:54 PM) It sounds like the Secure Desktop app is preventing file access. Perhaps you can look at your secure desktop settings to se if You can allow LabVIEW access to the required files. Yeah, I thought the same thing as well. I called the support for Secure Desktop and they said the way I had it set up was fine. I am not actually calling any files from any folders, but I am creating report files (excel and pdf) that are being placed in folders. The whole configuration is going against my intuition on how I would think this program should work, but the support person I talked to was one of the programmers of this software and basically said it is not Secure Desktop that is the problem. That is why I am looking for someone who has used Secure Desktop before and is familiar with it. Quote Link to comment
gammalight Posted December 8, 2007 Author Report Share Posted December 8, 2007 Well after a couple of hours of debugging I finally figured out the problem. It was not Secure Desktop afterall, it turns out that the report writing routine does not like the 2007 version of MS Excel. I was running the 2003 version with the software and it worked fine, but I get a few error messages when the software is run with 2007. I am alittle wiser now after all of this! Quote Link to comment
Rolf Kalbermatter Posted December 8, 2007 Report Share Posted December 8, 2007 QUOTE(gammalight @ Dec 6 2007, 10:14 PM) Well after a couple of hours of debugging I finally figured out the problem. It was not Secure Desktop afterall, it turns out that the report writing routine does not like the 2007 version of MS Excel. I was running the 2003 version with the software and it worked fine, but I get a few error messages when the software is run with 2007. I am alittle wiser now after all of this! Probably recompiling the low level support library of the Report Generation Toolkit for Office 2007 and installing that with your application instead of the default 2003 version would solve that issue. So MS most probably did it again and changed the ActiveX interface between Office versions enough, that LabVIEW gets trouble running it withoug recomiling its VIs. Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.