Example 1 - Return the playback properties of all player devices within a preset named
Example 2 - Return the playback properties of device ID
presetgetrecorderstatus (VNM Recorder and VNR 100 only)
The
presetgetrecorderstatus
associated with a specified preset.
Command line structure
presetgetrecorderstatus name device
Available parameters and arguments for this command are:
Parameter
name
device
Returned attributes for this command are:
Attribute
recordstate
duration
Mbytes
filename
directory
device_id
.
"preset1"
presetgetplayerstatus preset1
Returns:
[{"playstate":"PLAY","position_timecode":"01:23:22:00",
"filename":"File1_20001.0.0_r0_ s0.rec","directory":"/dir1",
"duration_timecode":"02:23:22:00","duration":8602,
"position":5002,"speed":2.3,"device_id":"100_Device1"},
{"playstate":"PLAY","position_timecode" :"01:23:22:00",
"filename":"File2_20002.0.0_r0_s0.rec","directory"
:"/dir2","duration_timecode":"02:23:22:00","duration":8602,
"position":5002,"speed":2.3,"device_id":"100_Device2"},
{"ts_playstate":"PLAY","ts_duration_timecode":"02:23:22:00",
"ts_speed":2.3,"ts_ position":5002,"ts_position_
timecode":"01:23:22:00","device_id":"preset","ts_
duration":8602}]
.
"preset1"
presetgetplayerstatus preset1 device=10002
Returns:
[{"playstate":"PLAY","position_timecode":"01:23:22:
00","filename":"File2_20002.0.0_r0_ s0.rec","directory":"/
dir2","duration_timecode":"02:23:22:00","duration":"8602",
"position":"5002","speed":"2.3","device_id":"100_Device2"}]
command returns a list of recording status properties
Argument
string
preset1
Example:
Device serial number
50001
Example:
Value
enable
disable
0-99999
Example: 5002
0-99999
Example: 5002
String
Example:
file1_20001.0.0_r0_
s0.rec
String
Example: /dir1
serial number:
channel
Example: 50001:2
]
within a preset named
10002
]
Description
The name of the stored preset.
The ID of a specific recorder device within
the preset. This optional parameter can be
used for filtering or search.
Description
Recording is currently in progress.
Recording is stopped.
The current length (or total length if the
recording has completed) of the recorded file
in seconds.
The current size (or total size if the
recording has finished) of the recorded file in
megabytes.
Name of the recording file.
Name of the recording directory.
The device ID and channel number of the
recorder device.
VNM EC 200 • Reference Information
219
Need help?
Do you have a question about the VNM EC 200 and is the answer not in the manual?