Here, the relay is a logical relay, which should be linked with the output module (physical module), and then you can control the output module via this relay.
Function |
Description |
---|---|
Get Relay Configuration Capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/outputs/capabilities?format=json. And the configuration capability is returned in the message JSON_OutputCap by the output parameter (lpOutputParam). |
Get All Relays' Parameters |
|
Get Multiple Relays' Parameters by Specific Conditions |
Call NET_DVR_STDXMLConfig to transmit the request URI: POST /ISAPI/SecurityCP/Configuration/outputs?format=json, and set the input buffer (lpInBuffer) of the input parameter (lpInputParam) to the message JSON_OutputCond. |
Get One Relay's Parameters |
Call NET_DVR_GetDVRConfig with the command "NET_DVR_GET_ALARMOUT_PARAM" (command No.: 1185) and set lChannel to the relay (trigger) No. (it starts from 0). The relay's parameters are returned in the structure NET_DVR_ALARMOUT_PARAM by the output parameter lpOutBuffer |
Set One Relay's Parameters |
|
Function |
Description |
---|---|
Get the relay's linkage configuration capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/outputsModule/capabilities?format=json. The relay's linkage configuration capability is returned in the message JSON_OutPutsModuleCap by the output parameter (lpOutputParam). |
Get linkage configuration parameters of all relays |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/outputsModule?format=json. And the parameters are returned in the message JSON_List_OutPutsModule by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |
Search for linkage configuration parameters by condition |
Call NET_DVR_STDXMLConfig to transmit the request URI: POST /ISAPI/SecurityCP/Configuration/outputsModule?format=json, and set the input buffer (lpInBuffer) of the input parameter (lpInputParam) to the message JSON_OutputsModuleCond. |
Set relay's linkage configuration parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/Configuration/outputsModule/<ID>?format=json, and set the input buffer (lpInBuffer) of the input parameter (lpInputParam) to the message JSON_OutPutsModule. |