Jump to content

Check existence and location of table files at end of run


---
 Share

Recommended Posts

Is there a way in PCM to find out at the end of a run

  • whether a characteristic table file was generated and exported (i.e. if the table file option was activated in the start window AND if the custom path setting was set and activated)
  • where (custom path and file name) it was exported to.

I think this would need a few "undocumented" commands. Does anyone happen to know some? 🙂

Edited
Link to comment
Share on other sites

Hello Norbert,

all generated files are logged in the protocols.log file located in the actuals directory (directoryPath("actuals")):

baseSystem().machine.inspection.settings.protocollog
settingGet("protocollog")

remark: baseSystem().machine.inspection.settings.blabla is the "same" as settingGet("blabla")

If the table file option is activated in the start window:

baseSystem().machine.inspection.settings.resultToTableFileDialog
settingGet("resultToTableFileDialog")

settingGet("resultToTableFile") shows if table files are activated

You can check custom path settings with

baseSystem().machine.inspection.settings.protocolSettings.outputFileDefinition
settingGet("protocolSettings").outputFileDefinition

especially (returns nil if not)

baseSystem().machine.inspection.settings.protocolSettings.outputFileDefinition.tableFileHdr
baseSystem().machine.inspection.protocol.protocolSettings.outputFileDefinition.tableFileChr
baseSystem().machine.inspection.protocol.protocolSettings.outputFileDefinition.tableFileFet

 

  • Like! 1
  • Thank you! 1
Link to comment
Share on other sites

Please sign in to view this quote.

Edit: Missing files are labeled with MISSING in the protocols.log file:

C:\Users\Public\Documents\Zeiss\CALYPSO\workarea\results\somtehing_2026_07_28_pwr.pdf     MISSING

By the way: Why can't I edit my posts anymore?

  • Like! 1
  • Thank you! 1
Link to comment
Share on other sites

Insane! :classic_blink::classic_laugh: Thanks a lot!

I didn't expect it to be that easy. Never payed attention to that log file before.

Does the log grow or does it always mirror the state of the last run? Because if it doesn't grow and missing files are marked, I probably won't need all the other check functions. 👍

Link to comment
Share on other sites

 Share

×
×
  • Create New...