Métrologie
Métrologie
MarWin: Did you know... loading RPF-files
EN

Did you know you can not only save but also load record pages (RPF-files) in MarEdit?


Using this, you can create a record page in one MarScript-program, load it in another script and add more output to the same page. This will even work using different MarWin users or mixing different MarWin products, including our Easy products.
 

Here is a small example:

PROGRAM Demo_save_and_load_RPF
BEGIN
       // Create record page (do a measurement):
       QE ROUNDNESS(MEAS=CIRCLES_CYLINDER,
             PNP_TYPE=[2],
             PNP_PROF_BASE=["Rundh"],
             PNP_FORCEDIR=POSITIVE)

       // Save the record page to file "/Mahr/Users/demo.rpf" and close Record Pager:
       OUTPUT RECORD PAGE(OUTPUT_UNIT=FILE, PATH="../../demo.rpf")
       OUTPUT RECORD PAGE(OUTPUT_UNIT=DESTROY)

       // start Record Pager, load "demo.rpf" and show it:
       FORMAT NEW RECORD PAGE( SCHEME = "../../../demo.rpf")
       OUTPUT RECORD PAGE(OUTPUT_UNIT=SCREEN)
END