NVR Recording Control via LabVIEW
(Step-by-Step Guide)
STEP 1: Connect NVR to Network
1. Connect NVR LAN port to network.
2. Check IP from NVR settings (example: [Link]).
3. Ensure PC is on same network.
STEP 2: Verify Communication
Open browser:
[Link]
Test CGI:
[Link]
STEP 3: Recording Control Logic
Recording controlled via manual mode override.
STEP 4: Commands
Start Recording:
[Link]
action=setConfig&Record[0].ManualRecEnable=true
Stop Recording:
[Link]
action=setConfig&Record[0].ManualRecEnable=false
Alternative Commands:
[Link]
[Link]
STEP 5: Test in Browser
Paste commands and check for 'OK' response.
STEP 6: LabVIEW Implementation
Use HTTP Client VIs: Functions → Data Communication → Protocols → HTTP Client
For START Recording
1. Place HTTP [Link]
2. Wire URL:
[Link]
action=setConfig&Record[0].ManualRecEnable=true
For STOP Recording
1. Place HTTP [Link]
2. Wire URL:
[Link]
action=setConfig&Record[0].ManualRecEnable=false
STEP 7: Debugging
Ping test: ping [Link]
Check credentials and firmware differences.
Important Notes
CP PLUS is Dahua OEM. Commands may vary slightly.
Recording requires HDD and correct schedule settings.