Appendix 4. Bmpsx Active-X Api Sets; Parameters; Method And Event Provided By Bmspx As Follows; Detailed Description Of Functions - 3R Technologies Brans200 User Manual

Network video server and interactive remote monitoring system
Table of Contents

Advertisement

A
p
p
e
n
d
i
x
4
.
B
M
P
A
p
p
e
n
d
i
x
4
.
B
M
P
Current version: 1.0.0.41

1. Parameters

Parameters applied to BMPSX Active X is divided into curCh and CurState as below:
curCh : Channel no, or motion mode selected at the current (Warning: small letter c)
0 : mufti channel mode
1 : channel 1 selection mode
2 : channel 2 selection mode
3 : channel 3 selection mode
4 : channel 4 selection mode
5 : sequence mode
6 : full screen mode
CurState : See of screen at the time of single screen or sequence mode
0 : 320 x 240 1 :640 x 480

2. Method and event provided by BMSPX as follows:

2.1 Methods void setBgColor(const VARIANT& color) BOOL StartEx(LPCTSTR szServerlp, LPCTSTR
szProtocol, LPCTSTR szBitrate, LPCTSTR szUserld, LPCTSTR szPassword, LPCTSTR szSessionld,
LPCTSTR szEx1, LPCTSTR szEx2) void Stop() short Pause() void CamControl(short ch, LPCTSTR
crud, LPCTSTR param) BOOL Call() void Hangup() BOOL Mute(short mval) void Sequence0
2.2 Events
Stopped0
OnStart()

3. Detailed description of functions

Make reference to below for further descriptions of the above methods,
3.1 void setBgColor(const VARIANT & color)
Function : It sets background color of screen at the time of single screen or in sequence mode.
Return value: none,
Input Parameters: color (color to be set)
(Example) document.bgColor = `white;
document bmspx.setBgColor(document.bgColor);
3.2 BOOL StartEx(LPCTSTR szServerlp, LPCTSTR szProtocol, LPCTSTR szBitrate,
LPCTSTR
szUserId, LPCTSTR szPassword, LPCTSTR szSessionld, LPCTSTR szEx1, LPCTSTR szEx2)
Function: It starts real-time monitoring(image transmission) from defined server,
Return value
FALSE: In case that the start of real-time monitoring is interrupted by the current
TRUE: In case that the start of real-time monitoring is available,
Input Parameters
szServerIp : IP address of server to access
szProtocol : Protocol for transmission
Brans200/200E rev. 1A
S
X
A
c
t
i
v
e
-
X
A
P
I
S
X
A
c
t
i
v
e
-
X
A
P
I
monitoring or due to another reason.
S
e
t
s
S
e
t
s
- 41 -
Jan 2003

Advertisement

Table of Contents
loading

This manual is also suitable for:

Brans200e

Table of Contents