LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SAI PDF Generator Error 1172

Hi everyone!

 

I am to trying to create a PDF with Simplicity AI Generator found in Labview's VI Manager module.

Following the examples given with it, I have an error when trying to create the report.

 

The error is the following:

 

 

 

 

Error 1172 occured : Constructor Node Error creating instance of CustomPDF in assembly Sai.CustomPdfGenerator.CustomPDF, Sai.CustomPdfGenerator, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null, (System.UnauthorizedAccessException: access to 'C:\Users\antoine.Courtois\Desktop' refused.)

The error might be a bit different than the normal English one (translated from french).

 

 

Anybody has an idea of how to fix it? I've been looking on NI.com concerning this error, but can't get it to work though.

.NET framework seems to be well installed on my computer.

 

Cheers! Smiley Happy

 

Antoine C.

0 Kudos
Message 1 of 8
(3,109 Views)

Antoine,

 

Which example did you try?  I have the Simplicity AI toolkit installed (per curiosity) and I courd try if I see the same problem.

0 Kudos
Message 2 of 8
(3,096 Views)

Hi!

 

Here is my small VI I did inspired by an example I found in "Find example".

 

Thank for your answer.

 

See ya!

0 Kudos
Message 3 of 8
(3,074 Views)

Could you save the file in LV2013?

0 Kudos
Message 4 of 8
(3,067 Views)

Here it is!

0 Kudos
Message 5 of 8
(3,061 Views)

Antoine, you have at least two problems:

 

-1)  you supplied a directory path instead of a file path;

-2) you supplied a font constant instead of a font.

 

SAi.png

Message 6 of 8
(3,056 Views)

Hi! Thanks for your help, works perfect now! 🙂

0 Kudos
Message 7 of 8
(3,048 Views)

I had the same issue.

In my case, our customer did not run the EXE from a local location. Instead from a network folder.

For trying i copied the EXE to "C:\temp" and run it from there and the pdf was created successfully.

0 Kudos
Message 8 of 8
(800 Views)