hexagon logo

Get Temperature readings

I want to get the temperature readings that appear in the Report Window (when a Temperature Compensation command has been included in the program) to write them into an Excel document automatically?
Do you know if there is any command and property to read in order to get these values?
Thanks in advance.
Parents
  • I vaguely remember trying the 'TEMP_' keywords in a GETTEXT and never getting them to work for some reason. I use something along these lines:

    ASSIGN/V1=GETCOMMAND("Temperature Compensation", "Up", 1)
                ASSIGN/V2=GETTEXT(529, 1, V1)
                ASSIGN/V3=GETTEXT(530, 1, V1)
                ASSIGN/V4=GETTEXT(531, 1, V1)
                ASSIGN/V5=GETTEXT(532, 1, V1)


    529 = 'X' Axis
    530 = 'Y' Axis
    531 = 'Z' Axis
    532 = Part



    Yep - you need to use GETCOMMAND (to get a pointer to the command) then GETEXT to get extract the Temps etc
Reply
  • I vaguely remember trying the 'TEMP_' keywords in a GETTEXT and never getting them to work for some reason. I use something along these lines:

    ASSIGN/V1=GETCOMMAND("Temperature Compensation", "Up", 1)
                ASSIGN/V2=GETTEXT(529, 1, V1)
                ASSIGN/V3=GETTEXT(530, 1, V1)
                ASSIGN/V4=GETTEXT(531, 1, V1)
                ASSIGN/V5=GETTEXT(532, 1, V1)


    529 = 'X' Axis
    530 = 'Y' Axis
    531 = 'Z' Axis
    532 = Part



    Yep - you need to use GETCOMMAND (to get a pointer to the command) then GETEXT to get extract the Temps etc
Children
No Data