hexagon logo

Reading temperature through automation

Hello!

Looking into extracting axis sensor temperatures, Curtemp did not seem to update automatically, and was not in the registerary at all when I looked on a 2022-installation. Anyone who knows how? Slight smile

Regards
Parents
  • Hello!

    Looking into extracting axis sensor temperatures, Curtemp did not seem to update automatically, and was not in the registerary at all when I looked on a 2022-installation. Anyone who knows how? Slight smile

    Regards


    It should be in the registry somewhere, have you executed PC-Dmis at least once with Administrator privileges after installing PC-Dmis? PC-Dmis needs admin privileges at least once to create and write its registries. Afterwards, admin privileges are not needed. This issue may be specific to the protection level related to how the PC was setup with the Windows OS.

    In any case, on the system I looked at, the current, prior temp as well as the date and time the temps were taken were found in the following registry path:

    Computer\HKEY_CURRENT_USER\SOFTWARE\WAI\PC-DMIS\2015.1\Option

    Here are a few of the registers in the above path:

    CurTemp# - where the # is the sensor number.
    PriorTemp# - ditto
    DateCurrentTemps - In 00:00 format.
    DatePriorTemps - ditto
    TimecurrentTemps - also in 00:00 format

    Another path is:

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\W AI\PC-DMIS\2015.1\USER_TempComp

    In this part are registers that indicate whether or not TempComp is turned on, is it using Celsius and so on. It is here that the registries SensorNumberP, SensorNumberX, SensorNumberY and SensorNumberZ have the number(s) of the sensors used for the Part and the three primary axis. Of course, you may already have the sensor numbers for when you set up the TempComp PC-Dmis command.

  • I checked the registry in an earlier version, but values don’t seem to update.
Reply Children
No Data