hexagon logo

Need a little guidance

Has anyone come across a way to export a program run as basic?
Or, has come across a way to export a program run in a way that can be imported back in later for review?

I know it may seem unnecessary.

My lab does a lot of protoyping, and as a result the customer sometimes desires to change datum scheme/bonus/hit targets/profile tolerances as the process goes on.
It gets tedious to have to re-run a part to get updated dimensional data.

Is there a solid way to do it?
I've exported programs as basic before, then re-uploaded them.
So i would assume it is possible.

I would just prefer an automated approach, anyone point me in a direction?
Parents
  • this script is what i was searching for exept of one item i do miss. the Serial Number in the file name.
    I tried to add this but i really have no clue how to.
    i added this
    Dim serial
    serial =Serial_number

    and changed the file name to:
    dest_path = archivePath & "\" & progname & "\" & progname & "_" & [COLOR=#FF0000]Seria[/COLOR]l & "_" & uid & "_" & Format(Now(), "YYYYMMDDHHNN") & ".prg"
    


    somehow the callout is "193" and not what i've filled in as Serial Number.
    What have i done wrong?

    At the beginning of each prg the serial number is defined
    WERKSTÜCKSNAME : 45555
    VERSIONSNR.: 5208438/-
    SERIENNR.: [COLOR=#FF0000]88066_000[/COLOR]


    need help
  • If you replace 'serial' with 'Serial_number', does it say the same thing? Are you sure you are using the correct source variable (Serial_number)?
Reply Children
No Data