Jump to content

Recommended Posts

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?

Link to comment

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.

Link to comment

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!

Link to comment

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.