ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exaprom authorization

Solved!
Go to solution

hello,

has anyone ever tried to make limitation with exaprom library (such as authorization of print - reading, password, ...)

thank you

0 Kudos
Message 1 of 17
(3,950 Views)

Hello Jacouille,

 

I think this might be worth a look:

https://decibel.ni.com/content/docs/DOC-10952

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 17
(3,905 Views)

Hello,

I know the module exaprom.


I added in the "New PDF" module a reference "PDFWriter - setencryption"


I can introduce different values for the "ownerPassword", the "userPassword", the "strength" can be either true or false.


But I do not know what value to change permissions.


On the net, I found some information (see attachment) but I do not know how to implement.

 

thanks for your help

0 Kudos
Message 3 of 17
(3,894 Views)

Hello Jacouille,

 

Where are you exactly stuck?

 

Based on this VI and your documentation you just have to specify each of the bits of 32-bits signed integer called "permissions".

What these 32 bits should be is documented in the pdf you posted.

 

If something is unclear, then please let me know.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 17
(3,884 Views)

Hello ThiCop,

 

The error came that I had to reverse the order.

 

I have another problem :


When the PDF file is not protected everything "set up" as I wish text, picture watermark, ... .


When the file is protected, some elements are not introduced into the pdf file and I get an error 1172 (see attachment).


The problem seems to come from the PDF stamper.

 

 

Download All
0 Kudos
Message 5 of 17
(3,865 Views)

I forget to attach the pdf file

Download All
0 Kudos
Message 6 of 17
(3,864 Views)

Hello Jacouille,

 

After a week in Finland I'm now back at the office.

I seem to be not able to open your VI based on the library mentioned here: https://decibel.ni.com/content/docs/DOC-10952

 

Are you using the same version, because there appear to be some differences in naming and some missing VIs.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 7 of 17
(3,836 Views)

Jacouille,

 

If you are willing to post your VIs (LV2009), I could take a look at the end of this week.  Because we both speak french, it will easier if we continue this post in the french board.

 

JM

0 Kudos
Message 8 of 17
(3,822 Views)

Hello J-M,

 

I guess you wrote the palette based on your name.

His VI's can be found a few posts higher.

There however seem to be a few missing VIs or renamed ones compared to your original post.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 9 of 17
(3,806 Views)

Yes,  I wrote the palette.  Unfortunately, his VI's are in LV2012 and I only have LV2009.

 

JM

0 Kudos
Message 10 of 17
(3,798 Views)