Jump to content

Autosave PiWeb reports


---
 Share

Recommended Posts

I've read a bunch of posts on the subject and either I still don't understand how to do it, or the path to get what I want is different than on old posts from old versions of Calypso... so at the risk of being redundant, here goes.

I would like a PDF of each PiWeb printout generated from a part run, saved to a specific folder, automatically. Ideally, the file name would populate with things like a job number or mfg. operation number based off of user input in Calypso.

I understand how to define where the files go, I just can't figure out how to get PiWeb to print a PDF there. Played around with some of the PCM stuff in measurement plan settings but the only thing I can get to happen is get some .txt files with info about the run. In the screen grab below I thought I had nailed it (the naming convention is just how I want it) but nothing gets me my PiWeb report exported.

Any advice on how to do this correctly?
1649_100f65ab1a327b7a914cbb763beb9901.jpg
Link to comment
Share on other sites

Please sign in to view this quote.

That was just what I needed... I got tunnel vision trying to figure this out and thought to myself "Print to PDF so tick the printer box" which is how we typically save reports.... 🙄 Completely glossed over the PDF box directly next to it. Thanks for pointing that out!
Link to comment
Share on other sites

Please sign in to view this quote.

I had the path set in Environment so it would always export my files there, but I do like the idea of controlling the file destination within the plan itself since I don't necessarily need PiWeb reports for every single thing I do in Calypso. Thanks!
Link to comment
Share on other sites

  • 1 month later...
Is there a way to have the PDF created by Calypso updated with data from PiWeb? I'm trying to get the Approve/Reject function in Piweb to be reflected on the PDF, but I can't seem to get it to save.
Link to comment
Share on other sites

Is this what you're wanting to do?
viewtopic.php?p=32922

Subsequent evaluation would allow you to put the same data into a different report format.
Resources > Result to file > Measuring points (on) > Set limit to high number (I use 9999)

Then, Plan > Subsequent Evaluation will allow you to recall data from past runs of the measurement plan into the currently selected format.
Link to comment
Share on other sites

Hope this helps

File save location and PCM

Characteristic Table Files
"C:\Users\Public\Documents\Calypso Results Data\Text files"+"\"+getRecordHead("order")+"\"+getRecordHead("planid")+"_SN_"+getRecordHead("partsn")+"_"+getRecordHead("partnbinc")+"_chr.txt"
Feture Table Files
"C:\Users\Public\Documents\Calypso Results Data\Text files"+"\"+getRecordHead("order")+"\"+getRecordHead("planid")+"_SN_"+getRecordHead("partsn")+"_"+getRecordHead("partnbinc")+"_fet.txt"
Report header table files
"C:\Users\Public\Documents\Calypso Results Data\Text files"+"\"+getRecordHead("order")+"\"+getRecordHead("planid")+"_SN_"+getRecordHead("partsn")+"_"+getRecordHead("partnbinc")+"_hdr.txt"
The above creates folders in the following structure: This is where all Table files are saved. (You can change drive and or folder names)

Please sign in to view this quote.

Measuring points (.zmp files)
"C:\Users\Public\Documents\Calypso Results Data\ZMP files"+"\"+getRecordHead("order")+"\"+getRecordHead("planid")+"_SN_"+getRecordHead("partsn")+"_"+getRecordHead("partnbinc")+".zmp"
The above creates folders in the following structure: This is where all Table files are saved. (You can change drive and or folder names)

Please sign in to view this quote.

PDF file PiWeb reporting
"C:\Users\Public\Documents\Calypso Results Data\PDF files"+"\"+getRecordHead("order")+"\"+getRecordHead("planid")+"_SN_"+getRecordHead("partsn")+"_"+getRecordHead("partnbinc")+".pdf"
The above creates folders in the following structure: This is where all Table files are saved. (You can change drive and or folder names)

Please sign in to view this quote.

The attached file can help you follow the data structure.
"Report header parameters" under the Resources menu.
ProtocolHeader-RS_04.12.2022.zip
This is the PiWeb protocol file I use.

ProtocolHeader-RS_04.12.2022.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...