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
industry thermometry in normal mode to measure the global temperature 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.
Figure 1 Programming Flow of
Configuring Temperature Measurement Alarm in Normal Mode
- Optional:
Call NET_DVR_GetSTDAbility, set the dwAbilityType to
NET_DVR_GET_THERMAL_CAPABILITIES (value: 3634), and set condition parameter
lpCondBuffer in the structure of NET_DVR_STD_ABILITY to "NULL" for getting the thermal capability to
check if the following functions are supported.
-
Configure functional mutex parameters.
- Optional:
Call NET_DVR_GetSTDAbility, set the dwAbilityType to
NET_DVR_GET_THERMINTELL_CAPABILITIES (value: 6711), and set condition
parameter lpCondBuffer in the
structure of NET_DVR_STD_ABILITY to 4-byte channel No. for getting the
functional mutex capability to check if it is supported.
- Optional:
Call NET_DVR_GetSTDConfig with NET_DVR_GET_THERMINTELL (command
No.: 6712) and set the condition parameter IpCondBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. for getting the
existing or configured functional mutex parameters for reference.
-
Call NET_DVR_SetSTDConfig with NET_DVR_SET_THERMINTELL (command
No.: 6713), set the condition parameter IpCondBuffer and input parameter lpInBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. and NET_DVR_THERMINTELL_PARAM for setting functional mutex
parameters.
-
Configure temperature measurement mode.
- Optional:
Call NET_DVR_GetSTDAbility, set the dwAbilityType to
NET_DVR_GET_THERMOMETRY_MODE_CAPABILITIES (value: 6764), and set
condition parameter lpCondBuffer in the
structure of NET_DVR_STD_ABILITY to 4-byte
channel No. for getting the capability oftemperature measurement mode
configuration.
- Optional:
Call NET_DVR_GetSTDConfig with NET_DVR_GET_THERMOMETRY_MODE
(command No.: 6765) and set the condition parameter IpCondBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. for getting the
existing or configured temperature measurement mode for reference.
-
Call NET_DVR_SetSTDConfig with NET_DVR_SET_THERMOMETRY_MODE
(command No.: 6766), set the condition parameter IpCondBuffer and input parameter lpInBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. and NET_DVR_THERMOMETRY_MODE for setting the temperature measurement
mode to "normal".
-
Configure basic temperature measurement parameters.
- Optional:
Call NET_DVR_GetSTDAbility, set the dwAbilityType to
NET_DVR_GET_THERMOMETRY_BASICPARAM_CAPABILITIES (value: 3620), and set
condition parameter lpCondBuffer in
the structure of NET_DVR_STD_ABILITY to 4-byte channel No. for getting the
basic temperature measurement capability to check if it is
supported.
- Optional:
Call NET_DVR_GetSTDConfig with NET_DVR_GET_THERMOMETRY_BASICPARAM (command No.: 3621)
and set the condition parameter IpCondBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. for getting the
existing or configured basic temperature measurement parameters for
reference.
-
Call NET_DVR_SetSTDConfig with NET_DVR_SET_THERMOMETRY_BASICPARAM (command No.: 3622),
set the condition parameter IpCondBuffer and input parameter lpInBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. and NET_DVR_THERMOMETRY_BASICPARAM for setting basic temperature
measurement parameters.
-
Configure arming schedule for temperature measurement alarm.
- Optional:
Call NET_DVR_GetSTDAbility, set the dwAbilityType to
NET_DVR_GET_THERMOMETRY_SCHEDULE_CAPABILITIES (value: 6750), and set
condition parameter lpCondBuffer in the
structure of NET_DVR_STD_ABILITY to 4-byte channel No. for getting the
arming schedule configuration capability to check if it is
supported.
- Optional:
Call NET_DVR_GetSTDConfig with NET_DVR_GET_THERMOMETRY_SCHEDULE
(command No.: 6751) and set the condition parameter IpCondBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. for getting the
existing or configured arming schedule parameters for reference.
-
Call NET_DVR_SetSTDConfig with NET_DVR_SET_THERMOMETRY_SCHEDULE
(command No.:6752), set the condition parameter IpCondBuffer and input parameter lpInBuffer in the structure of NET_DVR_STD_CONFIG to 4-byte channel No. and NET_DVR_EVENT_SCHEDULE for setting arming schedule.
-
Configure linkage action for temperature measurement alarm.
- Optional:
Call NET_DVR_GetSTDAbility, set the dwAbilityType to
NET_DVR_GET_EVENT_TRIGGERS_CAPABILITIES (value: 3501), and set condition
parameter lpCondBuffer in the
structure of NET_DVR_STD_ABILITY to "NULL" for getting the linkage action
configuration capability to check if it is supported.
- Optional:
Call NET_DVR_GetSTDConfig with NET_DVR_GET_THERMOMETRY_TRIGGER
(command No.: 3632) and set the condition parameter IpCondBuffer in the structure of NET_DVR_STD_CONFIG to NET_DVR_THERMOMETRY_TRIGGER_COND for getting the existing or configured
linkage action parameters for reference.
-
Call NET_DVR_SetSTDConfig with NET_DVR_SET_THERMOMETRY_TRIGGER
(command No.: 3633), set the condition parameter IpCondBuffer and input parameter lpInBuffer in the structure of NET_DVR_STD_CONFIG to NET_DVR_THERMOMETRY_TRIGGER_COND and NET_DVR_EVENT_TRIGGER for setting linkage action.
Note:
To receive the alarm in platform or system, the linkage
action must be set to "center" (upload to alarm center).
- Optional:
Receive the temperature measurement alarm (i.e., temperature alarm and
temperature difference alarm) in arming mode (see Receive Alarm/Event in Arming Mode) or listening mode (see Receive Alarm/Event in Listening Mode) when alarm is triggered.
Call NET_DVR_Logout and NET_DVR_Cleanup to log out and release the resources.