Temperature measurement is mainly applied to the electric and industrial automation fields, which provides accurate and stable temperature measurement for the mid-to-high end manufacturers (e.g., intelligent robot) to realize the process control, automatic detection, and status monitoring of electromechanical devices. You can set the temperature measurement to expert mode to measure the temperature according to areas or presets during the industrial production. When the measured temperature does not meet the configured temperature threshold, the alarm will be triggered and uploaded to monitoring center if configured. And then, you can receive the alarm.
Make sure you have called NET_DVR_Init to initialize the development environment.
Make sure you have called NET_DVR_Login_V40 to log in to the device.
The thermal capability (XML_ThermalCap) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
The functional mutex capability (XML_Cap_ThermIntell) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
The functional mutex parameters (NET_DVR_THERMINTELL_PARAM) are returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_CONFIG.
The capability of temperature measurement mode configuration (XML_Cap_ThermometryMode) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
The temperature measurement mode (NET_DVR_THERMOMETRY_MODE) are returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_CONFIG.
The configuration capability of linkage between temperature measurement information and preset (XML_Cap_ThermometryScene) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
The linkage parameters (NET_DVR_THERMOMETRY_PRESETINFO) are returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_CONFIG.
Call NET_DVR_GetSTDAbility, set the dwAbilityType to NET_DVR_GET_THERMOMETRY_ALARMRULE_CAPABILITIES (value: 3626), and set condition parameter lpCondBuffer in the structure of NET_DVR_STD_ABILITY to 4-byte channel No. for getting alarm rule configuration capability.
The alarm rule configuration capability (XML_Cap_ThermometryAlarmRule) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
Call NET_DVR_GetSTDConfig with NET_DVR_GET_THERMOMETRY_ALARMRULE (command No.: 3627) and set the condition parameter IpCondBuffer in the structure of NET_DVR_STD_CONFIG to NET_DVR_THERMOMETRY_COND for getting the existing or configured temperature alarm rules.
The temperature alarm rules (NET_DVR_THERMOMETRY_ALARMRULE) are returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_CONFIG.
Call NET_DVR_SetSTDConfig with NET_DVR_SET_THERMOMETRY_ALARMRULE (command No.: 3628), set the condition parameter IpCondBuffer and input parameter lpInBuffer in the structure of NET_DVR_STD_CONFIG to NET_DVR_THERMOMETRY_COND and NET_DVR_THERMOMETRY_ALARMRULE for setting the temperature alarm rules.
Call NET_DVR_GetSTDAbility, set the dwAbilityType to NET_DVR_GET_THERMOMETRY_ALARMRULE_CAPABILITIES (value: 3626), and set condition parameter lpCondBuffer in the structure of NET_DVR_STD_ABILITY to 4-byte channel No. for getting alarm rule configuration capability.
The alarm rule configuration capability (XML_Cap_ThermometryAlarmRule) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
Call NET_DVR_GetSTDConfig with NET_DVR_GET_THERMOMETRY_DIFFCOMPARISON (command No.: 3630) and set the condition parameter IpCondBuffer in the structure of NET_DVR_STD_CONFIG to NET_DVR_THERMOMETRY_COND for getting the existing or configured temperature difference alarm rules.
The temperature difference alarm rules (NET_DVR_THERMOMETRY_DIFFCOMPARISON) are returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_CONFIG.
Call NET_DVR_SetSTDConfig with NET_DVR_SET_THERMOMETRY_DIFFCOMPARISON (command No.: 3631), set the condition parameter IpCondBuffer and input parameter lpInBuffer in the structure of NET_DVR_STD_CONFIG to NET_DVR_THERMOMETRY_COND and NET_DVR_THERMOMETRY_DIFFCOMPARISON for setting the temperature difference alarm rules.
The arming schedule configuration capability (XML_Schedule) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
The arming schedule parameters (NET_DVR_EVENT_SCHEDULE) are returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_CONFIG.
The linkage action configuration capability (XML_EventTriggersCap) is returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_ABILITY.
The linkage action parameters (NET_DVR_EVENT_TRIGGER) are returned by the output parameter lpOutBuffer in the structure of NET_DVR_STD_CONFIG.
To receive the alarm in platform or system, the linkage action must be set to "center" (upload to alarm center).
The command lCommand to receive related temperature measurement alarm should be set to COMM_THERMOMETRY_ALARM (command No.: 0x5212) or COMM_THERMOMETRY_DIFF_ALARM (command No.: 0x5211) in the APIs of NET_DVR_SetDVRMessageCallBack_V50 and NET_DVR_StartListen_V30. For alarm details, refer to the structure NET_DVR_THERMOMETRY_ALARM or NET_DVR_THERMOMETRY_DIFF_ALARM.
Call NET_DVR_Logout and NET_DVR_Cleanup to log out and release the resources.