hexagon logo

Export ScanRdv calibration data

Hello

I'm trying to get the ScanRdv into a variable.

With the the "normal" calibration I can use the "PROBEDATA" command to get all the results like offset, diameter, PRbRdv and so on
But I can't find a way to export the values after the scan calibration.

The German support also couldn't help me.

Is it maybe possible to get the results in another way? Maybe the "GETTEXT", "GETTEXTEX" or other command?

neil.challinor

Thank you in advance
Parents
  • Hello Neil
    I apologise for my late feedback, unfortunately I only had time to put your suggestion into practice now.
    It worked out great. I now have the scan calibration data in a variable.
    I have now solved it as follows.

    ​=FILE/OPEN,C:\PC DMIS\Tasterdaten\2022.2\T2.Results,READ
    ASSIGN/V2_SCAN_T2_TIP3=0
    DO/
    LESEN_SCAN_T2_TIP3 =FILE/READLINE,FPTR_T2_TIP3,"TIP3 ScanRAbw"+{V1_SCAN_T2_TIP3}
    ASSIGN/V2_SCAN_T2_TIP3=V2_SCAN_T2_TIP3+V1_SCAN_T2_TIP3
    UNTIL/LESEN_SCAN_T2_TIP3=="EOF"
    ASSIGN/T2_TIP3_SCAN=V2_SCAN_T2_TIP3
    ASSIGN/V2_SCAN_T2_TIP5=0
    FPTR_T2_TIP5 =FILE/OPEN,C:\PC DMIS\Tasterdaten\2022.2\T2.Results,READ
    ASSIGN/V2_SCAN_T2_TIP3=T2_TIP3_SCAN
    DO/
    LESEN_SCAN_T2_TIP5 =FILE/READLINE,FPTR_T2_TIP5,"TIP5 ScanRAbw"+{V1_SCAN_T2_TIP5}
    ASSIGN/V2_SCAN_T2_TIP5=V2_SCAN_T2_TIP5+V1_SCAN_T2_TIP5
    UNTIL/LESEN_SCAN_T2_TIP5=="EOF"
    ASSIGN/T2_TIP5_SCAN=V2_SCAN_T2_TIP5​


    It is important to note that you only have one scan deviation in the Ressult file, otherwise the results are added together. There is probably another solution to this, but I will proceed in such a way that the calibration data is overwritten.

    Thanks for your help, I probably wouldn't have thought of this.

    neil.challinor
Reply
  • Hello Neil
    I apologise for my late feedback, unfortunately I only had time to put your suggestion into practice now.
    It worked out great. I now have the scan calibration data in a variable.
    I have now solved it as follows.

    ​=FILE/OPEN,C:\PC DMIS\Tasterdaten\2022.2\T2.Results,READ
    ASSIGN/V2_SCAN_T2_TIP3=0
    DO/
    LESEN_SCAN_T2_TIP3 =FILE/READLINE,FPTR_T2_TIP3,"TIP3 ScanRAbw"+{V1_SCAN_T2_TIP3}
    ASSIGN/V2_SCAN_T2_TIP3=V2_SCAN_T2_TIP3+V1_SCAN_T2_TIP3
    UNTIL/LESEN_SCAN_T2_TIP3=="EOF"
    ASSIGN/T2_TIP3_SCAN=V2_SCAN_T2_TIP3
    ASSIGN/V2_SCAN_T2_TIP5=0
    FPTR_T2_TIP5 =FILE/OPEN,C:\PC DMIS\Tasterdaten\2022.2\T2.Results,READ
    ASSIGN/V2_SCAN_T2_TIP3=T2_TIP3_SCAN
    DO/
    LESEN_SCAN_T2_TIP5 =FILE/READLINE,FPTR_T2_TIP5,"TIP5 ScanRAbw"+{V1_SCAN_T2_TIP5}
    ASSIGN/V2_SCAN_T2_TIP5=V2_SCAN_T2_TIP5+V1_SCAN_T2_TIP5
    UNTIL/LESEN_SCAN_T2_TIP5=="EOF"
    ASSIGN/T2_TIP5_SCAN=V2_SCAN_T2_TIP5​


    It is important to note that you only have one scan deviation in the Ressult file, otherwise the results are added together. There is probably another solution to this, but I will proceed in such a way that the calibration data is overwritten.

    Thanks for your help, I probably wouldn't have thought of this.

    neil.challinor
Children
No Data