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
  • Hello thanks for your help.

    Here is the code I used in PCDMIS :


    ASSIGN/V10=GETCOMMAND("Temperature Compensation", "Up", 1)
    ASSIGN/V12=GETTEXT(529, 1, V10)
    ASSIGN/V13=GETTEXT(530, 1, V10)
    ASSIGN/V14=GETTEXT(531, 1, V10)
    ASSIGN/V15=GETTEXT(532, 1, V10)

    Then I added, reports comment :
    V12
    V13
    V14
    V15

    Then PCD2EXCEL


Reply
  • Hello thanks for your help.

    Here is the code I used in PCDMIS :


    ASSIGN/V10=GETCOMMAND("Temperature Compensation", "Up", 1)
    ASSIGN/V12=GETTEXT(529, 1, V10)
    ASSIGN/V13=GETTEXT(530, 1, V10)
    ASSIGN/V14=GETTEXT(531, 1, V10)
    ASSIGN/V15=GETTEXT(532, 1, V10)

    Then I added, reports comment :
    V12
    V13
    V14
    V15

    Then PCD2EXCEL


Children
No Data