JVC VN-E4U API Guide - Page 78

(2) Public Interface of ActiveX Control, Type / Name, Details and HTML/SCRIPT Description Example

Page 78 highlights

11. Customizing VN-E4's Built-in Viewer (2) Public Interface of ActiveX Control Type / Name Method Details and HTML/SCRIPT Description Example For specifying JPEG frame size. SetJpegSize (ch , size) Method Ch 1: ch1 2: ch2 3: ch3 4: ch4 size 0: VGA 1: QVGA Example: SetJpegSize(1,1); Set JPEG frame size of 1ch to QVGA For selecting 180@ rotation during display of JPEG. SetDispRotate (ch , onoff) Method Ch 1: ch1 2: ch2 3: ch3 4: ch4 onoff 0: Do not rotate 1: Rotate Example: SetDispRotate(1,1); Rotate JPEG display of 1ch by 180@ For selecting title display (internal file information) during display of JPEG. SetDispTitle (ch , onoff) Method Ch 1: ch1 2: ch2 3: ch3 4: ch4 onoff 0: Do not display 1: Display Example: SetDispTitle(1,1); Display title on JPEG display of 1ch For selecting JPEG display of each CH. SetEnableCH (ch , onoff) Method Ch 1: ch1 2: ch2 3: ch3 4: ch4 onoff 0: Do not display 1: Display Example: SetEnableCH(1,0); Do not display JPEG of 1ch JPEG display frame rate. SetFrameRate (ch , rate, flag) Method Ch 1: ch1 2: ch2 3: ch3 4: ch4 rate (NTSC) 30, 15, 10, 7.5, 6, 5, 3, 2, 1, 1/2, 1/3, 1/5, 1/10, 1/15, 1/20, 1/30 (PAL) 25, 12.5, 8.3, 6.25, 5, 4.1, 3, 2, 1, 1/2, 1/3, 1/5, 1/10, 1/15, 1/20, 1/30 flag 0: 1 fps or higher 1: Less than1 fps Example: SetFrameRate(1,10,0); Set JPEG rate of 1 ch to 10 fps For setting operator password (Required when sending audio data). OpePassword (password) Method Example: OpePassword("vn-e4"); For switching JPEG display between still and animated display. SetStill (ch , onoff) Method Ch 1: ch1 2: ch2 3: ch3 4: ch4 onoff 0: Animated display 1: Still display Example: SetStill(1,1); Display JPEG of 1ch as still image For saving the JPEG file (of the CH in display). Capture( ) Method Example: Capture( ); Save JPEG file For switching JPEG display from 4-screen to 1-screen display. DispOne( ) Method Example: DispOne( ); Switch to 1-screen display For switching JPEG display from 1-screen to 4-screen display. DispFour( ) Example: DispFour( ); Switch to 4-screen display 78

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

78
11. Customizing VN-E4's Built-in Viewer
(2) Public Interface of ActiveX Control
Type / Name
Details and HTML/SCRIPT Description Example
Method
SetJpegSize (ch
, size)
For specifying JPEG frame size.
Ch
1: ch1
2: ch2
3: ch3
4: ch4
size
0: VGA
1: QVGA
Example: SetJpegSize(1,1); Set JPEG frame size of 1ch to QVGA
Method
SetDispRotate (ch
, onoff)
For selecting 180@ rotation during display of JPEG.
Ch
1: ch1
2: ch2
3: ch3
4: ch4
onoff
0: Do not rotate
1: Rotate
Example: SetDispRotate(1,1); Rotate JPEG display of 1ch by 180@
Method
SetDispTitle (ch
, onoff)
For selecting title display (internal file information) during display of JPEG.
Ch
1: ch1
2: ch2
3: ch3
4: ch4
onoff
0: Do not display
1: Display
Example: SetDispTitle(1,1); Display title on JPEG display of 1ch
Method
SetEnableCH (ch
, onoff)
For selecting JPEG display of each CH.
Ch
1: ch1
2: ch2
3: ch3
4: ch4
onoff
0: Do not display
1: Display
Example: SetEnableCH(1,0); Do not display JPEG of 1ch
Method
SetFrameRate (ch
, rate, flag)
JPEG display frame rate.
Ch
1: ch1
2: ch2
3: ch3
4: ch4
rate
(NTSC) 30, 15, 10, 7.5, 6, 5, 3, 2, 1, 1/2, 1/3, 1/5, 1/10, 1/15, 1/20, 1/30
(PAL) 25, 12.5, 8.3, 6.25, 5, 4.1, 3, 2, 1, 1/2, 1/3, 1/5, 1/10, 1/15, 1/20, 1/30
flag
0: 1 fps or higher
1: Less than1 fps
Example: SetFrameRate(1,10,0); Set JPEG rate of 1 ch to 10 fps
Method
OpePassword (password)
For setting operator password (Required when sending audio data).
Example: OpePassword("vn-e4");
Method
SetStill (ch
, onoff)
For switching JPEG display between still and animated display.
Ch
1: ch1
2: ch2
3: ch3
4: ch4
onoff
0: Animated display
1: Still display
Example: SetStill(1,1); Display JPEG of 1ch as still image
Method
Capture( )
For saving the JPEG file (of the CH in display).
Example: Capture( ); Save JPEG file
Method
DispOne( )
For switching JPEG display from 4-screen to 1-screen display.
Example: DispOne( ); Switch to 1-screen display
Method
DispFour( )
For switching JPEG display from 1-screen to 4-screen display.
Example: DispFour( ); Switch to 4-screen display