Documente Academic
Documente Profesional
Documente Cultură
Date: 2015-3-11
Version list:
Version
Date
Author
Comment, Description
Support the latest 5th generation products, and
15.03.11
2015-3-11
He
support
3rd and
4th generation
products.
13.11.06
2013-11-06
He
13.08.07
2013-08-07
Bai
13.05.18
2013-05-18
He
BX102P002
Catalogue
BX-IV Dynamic Library User Manual................................................................................................... 0
Fast development guiding................................................................................................................... 2
Return to Status Code Definition.........................................................................................................2
Display Screen Initialization................................................................................................................ 3
Initialize screen parameters................................................................................................................ 3
AddScreen Function.....................................................................................................................3
DeleteScreen Function.................................................................................................................5
Send data to screen............................................................................................................................. 6
SendScreenInfo Function............................................................................................................. 6
SaveUSBScreenInfo Function.......................................................................................................7
Update program.................................................................................................................................. 7
AddScreenProgram Function.......................................................................................................8
AddScreenProgramBmpTextArea Function.................................................................................9
AddScreenProgramAreaBmpTextFile Function........................................................................... 9
AddScreenProgramTemperatureArea function........................................................................ 11
AddScreenProgramHumidityArea Function.............................................................................. 12
AddScreenProgramNoiseArea Function....................................................................................13
AddScreenProgramTimeArea function..................................................................................... 14
AddScreenProgramTimeAreaFile Function............................................................................... 15
AddScreenProgramClockArea function.....................................................................................16
AddScreenProgramClockAreaFile function............................................................................... 16
AddScreenProgramChroArea function..................................................................................... 18
AddScreenProgramChroAreaFile function................................................................................ 18
DeleteScreenProgram function................................................................................................. 20
DeleteScreenProgramArea function......................................................................................... 20
DeleteScreenProgramAreaBmpTextFile function......................................................................20
Other commands............................................................................................................................... 21
SetScreenTimerPowerONOFF function......................................................................................21
SetScreenAdjustLight function.................................................................................................. 21
Check the present display screen status........................................................................................... 22
GetScreenStatus function..........................................................................................................22
Attachment........................................................................................................................................ 22
Attachment 1.............................................................................................................................22
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-1-
BX102P002
Description
RETURN_ERROR_AERETYPE = 0xF7
RETURN_ERROR_RA_SCREENNO = 0xF8
RETURN_ERROR_NOFIND_AREAFILE = 0xF9
RETURN_ERROR_NOFIND_AREA = 0xFA
RETURN_ERROR_NOFIND_PROGRAM = 0xFB
RETURN_ERROR_NOFIND_SCREENNO = 0xFC
RETURN_ERROR_NOW_SENDING = 0xFD
RETURN_ERROR_NOSUPPORT_USB = 0xF6
RETURN_ERROR_NO_USB_DISK = 0xF5
RETURN_ERROR_OTHER = 0xFF
RETURN_NOERROR
=0
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-2-
BX102P002
AddScreen Function
function AddScreen(nControlType, nScreenNo, nWidth, nHeight, nScreenType, nPixelMode:
Integer;
nDataDA, nDataOE: Integer; nRowOrder, nFreqPar: Integer; pCom: PChar; nBaud:
Integer; pSocketIP: PChar;
nSocketPort: Integer; pWiFiIP: PChar; nWiFiPort: Integer;
pScreenStatusFile: PChar): integer;
Add screen information to DLL; This function doesnt do any communication to the screen, just
for some settings.
Parameters
Parameter
Description
nControlType
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-3-
BX102P002
Controller_BX_5AL
= 0X1851
Controller_AX-AT
Controller_AX-A0
= 0x2051
= 0x2151
Controller_BX_5M1
Controller_BX_5M1X
Controller_BX_5M2
Controller_BX_5M3
Controller_BX_5M4
= 0x0052
= 0x0152
= 0x0252
= 0x0352
= 0x0452
Controller_BX_5E1
Controller_BX_5E2
Controller_BX_5E3
= 0x0154
= 0x0254
= 0x0354
Controller_BX_5UT
Controller_BX_5U0
Controller_BX_5U1
Controller_BX_5U2
Controller_BX_5U3
Controller_BX_5U4
Controller_BX_5U5
Controller_BX_5U
Controller_BX_5UL
= 0x0055
= 0x0155
= 0x0255
= 0x0355
= 0x0455
= 0x0555
= 0x0655
= 0x0755
= 0x0855
Controller_AX-UL
Controller_AX-UT
Controller_AX-U0
Controller_AX-U1
Controller_AX-U2
= 0x2055
= 0x2155
= 0x2255
= 0x2355
= 0x2455
Controller_BX_5Q0
Controller_BX_5Q1
Controller_BX_5Q2
Controller_BX_5Q0+
Controller_BX_5Q1+
Controller_BX_5Q2+
Controller_BX_5QL
= 0x0056
= 0x0156
= 0x0256
= 0x1056
= 0x1156
= 0x1256
= 0x1356
Controller_BX_5QS1
Controller_BX_5QS2
Controller_BX_5QS
Controller_BX_5QS1+
= 0x0157
= 0x0257
= 0x0357
= 0x1157
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-4-
BX102P002
nScreenNo
nWidth
nHeight
nScreenType
nPixelMode
nDataDA
nDataOE
nRowOrder
nFreqPar
pCom
nBaud
pSocketIP
nSocketPort
pWiFiIP
nWiFiPort
pScreenStatusFile
Controller_BX_5QS2+
= 0x1257
Controller_BX_5QS+
= 0x1357
Screen number; This parameter is the same with LedshowTW
2013.
Screen width is the times of 16; minimum is 64; BX-5E series is
80.
Screen height is the times of 16; minimum is 16;
Screen type;
1: Single color;
2: Double color;
3: Tri color; Note: Only supported by BX-4MC; and this type
does not support any other type screen.
4: Full color; Note: Only supported by BX-5Q series; and this
type does not support any other type screen.
5: Single and double color with gray scale; Note: Only
supported by BX-5QS series and this type does not support any
other type screen.
Color type; 1: R+G; 2:G+R; This parameter is valid to double
color, Default is 2;
Data polarity;, 0x00: Data polarity is low, 0x01: Data polarity is
high; Default is 0.
OE polarity; 0x00:OE low; 0x01: OE high; Default is 0;
Line mode; 0: normal; 1: add one line; 2: cut one line; Default is
0.
Screen; 0~6; Default is 0;
Serial port name; Its valid when its serialp ort communication;
Like: COM1
Serial baud rate: In present, support 9600, 57600; Default is
57600;
Control card IP address, its valid when its in network
communication; Like: 192.168.0.199; Only support fixed IP
mode.
Control card network port; its valid when its in network
communication mode; Like: 5005
The IP address information of WIFI mode; its valid when its in
wifi mode; Like: 192.168.100.1
WIFI port; its valid when its in wifi mode; Like: 5005
Used to save the checked screen status paraters which saved
INI file name; Its valid only do check GetScreenStatus.
Return parameter:
Check return to status code definition
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-5-
BX102P002
DeleteScreen Function
function DeleteScreen(nScreenNo: Integer): Integer; stdcall;
Delete the screen information. After deleting the screen, all the programs in this screen will
be deleted from the DLL. This function does not communicate with screen, only for parameters
setting.
Parameters
Description
nScreenNo
Return parameter:
Check return to status code definition
SendScreenInfo Function
function SendScreenInfo(nScreenNo, nSendMode, nSendCmd, nOtherParam1: Integer): Integer;
stdcall;
According to the comunication mode, send corresponding information/command to screen.
This function will communicate with screen
Parameters:
Parameters
Description
nScreenNo
nSendMode
nSendCmd
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-6-
BX102P002
nOtherParam1
Return parameter:
Check return to status code definition
SaveUSBScreenInfo Function
function SaveUSBScreenInfo(nScreenNo: Integer; bCorrectTime, nAdvanceHour, nAdvanceMinute:
Integer; pUSBDisk: PChar): Integer; stdcall;
Save programs to USB disk.
When users use this function, please note that the present controller support USB
downloading function.
Parameter
Description
nScreenNo
bCorrectTime
nAdvanceHour
nAdvanceMinute
pUSBDisk
Return parameter:
Check return to status code definition
Update program
Update the programs on screen. The DLL now supports graphic and text ( including subtile
area) area, Time area, Clock area, Temperature area, Humidity area, Noice area, etc. Users can
add the area and information according to their own needs.
Before adding program/ areas, need to AddScreen, then add according to the below steps,
lastly, send programs by SendScreenInfo or Save USBScreenInfo.
If users want to delete some programs, do DeleteScreenProgram. Meanwhile, all the
programs on this program will be deleted. If users need some area info, just do
DeleteScreenProgramArea.
If
users
need
to
delete
some
files,
just
do
DeleteScreenProgramAreaBmpTextFile. The aboved parameters do not do any communication,
just for some corresponding settings.
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-7-
BX102P002
AddScreenProgram Function
function AddScreenProgram(nScreenNo, nProgramType: Integer; nPlayLength: Integer;
nStartYear, nStartMonth, nStartDay, nEndYear, nEndMonth, nEndDay: Integer;
nMonPlay,
nTuesPlay, nWedPlay, nThursPlay, bFriPlay, nSatPlay, nSunPlay: integer;
nStartHour,
nStartMinute, nEndHour, nEndMinute: Integer): Integer; stdcall;
Add program on DLL; This function does not do communication, just for settings.
Parameter
Description
nScreenNo
nProgramType
nPlayLength
nStartYear
nStartMonth
nStartDay
nEndYear
nEndMonth
nEndDay
nMonPlay
nTuesPlay
nWedPlay
nThursPlay
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-8-
BX102P002
bFriPlay
nSatPlay
nSunPlay
nStartHour
nStartMinute
nEndHour
nEndMinute
Return parameter:
Check return to status code definition
AddScreenProgramBmpTextArea Function
function AddScreenProgramBmpTextArea(nScreenNo, nProgramOrd: Integer; nX, nY, nWidth,
nHeight: integer): Integer; stdcall;
Add Graphic&Text area on DLL; This function does not do communication, just for settings.
Parameter
Description
nScreenNo
nProgramOrd
nX
nY
nWidth
nHeight
Return parameter:
Check return to status code definition
AddScreenProgramAreaBmpTextFile Function
function AddScreenProgramAreaBmpTextFile(nScreenNo, nProgramOrd, nAreaOrd: Integer;
pFileName: PChar; nShowSingle: integer; pFontName: PChar; nFontSize, nBold, nFontColor:
Integer; nStunt, nRunSpeed, nShowTime: Integer): Integer; stdcall;
Add file to Graphic&Text area on DLL; This function does not do communication, just for
settings.
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
-9-
BX102P002
nScreenNo
nProgramOrd
nAreaOrd
pFileName
nShowSingle
pFontName
nFontSize
nBold
nFontColor
nStunt
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 10 -
BX102P002
nRunSpeed
nShowTime
0x1F: Curtain up
3T3A4A cards do not support it
0x20: Curtain down
3T3A4A cards do not support
it
0x21: Move to center from left to right
3T cards do
not support it
0x22: Split to left and right
3T cards do not support
it
0x23: Move to center from up and down
3T cards do
not support it
0x24: Splite to up and down
3T cards do not support
it
0x25: Move right
0x26: Continuously move right
0x27: Move down
3T cards do not support it
0x28: Continuously move down
3T cards do not
support it
Run speed; 0~63;It will be slower if the value is bigger.
Show time; 0-65525; Unit is 0.5 seconds
Return parameter:
Check return to status code definition
AddScreenProgramTemperatureArea function
function AddScreenProgramTemperatureArea(nScreenNo, nProgramOrd: Integer;
nX, nY,
nWidth, nHeight: integer;
nSensorType,
nTemperatureUnit,
nTemperatureMode,
nTemperatureUnitScale,
nTemperatureValueWidth,
nTemperatureCorrectionPol,
nTemperatureCondition, nTemperatureThreshPol, nTemperatureThresh, nTemperatureColor,
nTemperatureErrColor: Integer; pStaticText, pStaticFont: pChar; nStaticSize, nStaticColor,
nStaticBold: Integer): Integer; stdcall;
Add Temperature area on DLL; This function does not do communication, just for settings.
nScreenNo
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 11 -
BX102P002
nProgramOrd
nX
nY
nWidth
nHeight
nSensorType
nTemperatureUnit
nTemperatureMode
nTemperatureMode:
nTemperatureUnitScale
nTemperatureValueWidth
nTemperatureCorrectionPol
nTemperatureCondition
nTemperatureThreshPol
nTemperatureThresh
nTemperatureColor
nTemperatureErrColor
pStaticText
pStaticFont
nStaticSize
nStaticColor
nStaticBold
Return parameter:
Check return to status code definition
AddScreenProgramHumidityArea Function
function AddScreenProgramHumidityArea(nScreenNo, nProgramOrd: Integer; nX, nY, nWidth,
nHeight: integer; nSensorType, nHumidityUnit, nHumidityMode, nHumidityUnitScale,
nHumidityValueWidth, nHumidityConditionPol, nHumidityCondition, nHumidityThreshPol,
nHumidityThresh, nHumidityColor, nHumidityErrColor: Integer; pStaticText, pStaticFont:
pChar; nStaticSize, nStaticColor, nStaticBold: Integer): Integer; stdcall;
Add Humidity area on DLL; This function does not do communication, just for settings.
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 12 -
BX102P002
nScreenNo
nProgramOrd
nX
nY
nWidth
nHeight
nSensorType
nHumidityUnit
nHumidityMode
nHumidityUnitScale
nHumidityValueWidth
nHumidityConditionPol
nHumidityCondition
nHumidityThreshPol
nHumidityThresh
nHumidityColor
nHumidityErrColor
pStaticText
pStaticFont
nStaticSize
nStaticColor
nStaticBold
Return parameter:
Check return to status code definition
AddScreenProgramNoiseArea Function
function AddScreenProgramNoiseArea(nScreenNo, nProgramOrd: Integer;
nX, nY, nWidth,
nHeight: integer;
nSensorType,
nNoiseUnit,
nNoiseMode,
nNoiseUnitScale,
nNoiseValueWidth,
nNoiseConditionPol,
nNoiseCondition,
nNoiseThreshPol,
nNoiseThresh,
nNoiseColor, nNoiseErrColor: Integer;
pStaticText, pStaticFont: pChar;
nStaticSize, nStaticColor, nStaticBold: Integer): Integer; stdcall;
Add voice sensor area on DLL; This function does not do communication, just for settings.
nScreenNo
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 13 -
BX102P002
nProgramOrd
nX
nY
nWidth
nHeight
nSensorType
nNoiseUnit
nNoiseMode
nNoiseUnitScale
nNoiseValueWidth
nNoiseConditionPol
nNoiseCondition
nNoiseThreshPol
nNoiseThresh
nNoiseColor
nNoiseErrColor
pStaticText
pStaticFont
nStaticSize
nStaticColor
nStaticBold
Return parameter:
Check return to status code definition
AddScreenProgramTimeArea function
function AddScreenProgramTimeArea(nScreenNo, nProgramOrd: Integer;
nX, nY, nWidth,
nHeight: integer): Integer; stdcall;
Add time area on DLL; This function does not do communication, just for settings.
Parameter
Description
nScreenNo
nProgramOrd
nX
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 14 -
BX102P002
nY
nWidth
nHeight
Return parameter:
Check return to status code definition
AddScreenProgramTimeAreaFile Function
function AddScreenProgramTimeAreaFile(nScreenNo, nProgramOrd, nAreaOrd: Integer;
pInputtxt, pFontName: PChar; nSingal, nAlign, nFontSize, nBold, nItalic, nUnderline: Integer;
nUsetxt, nTxtcolor, nUseymd, nYmdstyle, nYmdcolor, nUseweek, nWeekstyle, nWeekcolor,
nUsehns, nHnsstyle, nHnscolor, nAutoset: Integer): Integer; stdcall;
Attributes of time area; This function does not do communication, just for settings.
nScreenNo
nProgramOrd
nAreaOrd
pInputtxt
pFontName
nSingal
nAlign
nFontSize
nBold
nItalic
nUnderline
nUsetxt
nTxtcolor
nUseymd
nYmdstyle
nYmdcolor
nUseweek
nWeekstyle
nWeekcolor
nUsehns
nHnsstyle
nHnscolor
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 15 -
BX102P002
nAutoset
Return parameter:
Check return to status code definition
AddScreenProgramClockArea function
function AddScreenProgramClockArea(nScreenNo, nProgramOrd: Integer;
nX, nY, nWidth,
nHeight: integer): Integer; stdcall;
Add clock area on DLL; This function does not do communication, just for settings.
Parameter
Description
nScreenNo
nProgramOrd
nX
nY
nWidth
nHeight
Return parameter:
Check return to status code definition
AddScreenProgramClockAreaFile function
function AddScreenProgramClockAreaFile(nScreenNo, nProgramOrd, nAreaOrd: Integer;
nusetxt, nusetime, nuseweek, ntimeStyle, nWeekStyle, ntxtfontsize, ntxtfontcolor, ntxtbold,
ntxtitalic, ntxtunderline, txtleft, txttop, ntimefontsize, ntimefontcolor, ntimebold, ntimeitalic,
ntimeunderline, timeleft, timetop,nweekfontsize, nweekfontcolor, nweekbold, nweekitalic,
nweekunderline, weekleft, weektop, nclockfontsize, nclockfontcolor, nclockbold, nclockitalic,
nclockunderline,
clockcentersize, clockcentercolor, mhrdotstyle, mhrdotsize, mhrdotcolor,
hrdotstyle, hrdotsize, hrdotcolor, mindotstyle, mindotsize, mindotcolor,hrhandsize, hrhandcolor,
minhandsize, minhandcolor, sechandsize, sechandcolor, nAutoset: integer;btxtcontent,
btxtfontname, btimefontname, bweekfontname, bclockfontname: pchar): Integer; stdcall;
Attributes of clock area; This function does not do communication, just for settings.
nScreenNo
nProgramOrd
nAreaOrd
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 16 -
BX102P002
nusetxt
nusetime
nuseweek
ntimeStyle
nWeekStyle
ntxtfontsize
ntxtfontcolor
ntxtbold
ntxtitalic
ntxtunderline
txtleft
txttop
ntimefontsize
ntimefontcolor
ntimebold
ntimeitalic
ntimeunderline
timeleft
timetop
nweekfontsize
nweekfontcolor
nweekbold
nweekitalic
nweekunderline
weekleft
weektop
nclockfontsize
nclockfontcolor
nclockbold
nclockitalic
nclockunderline
clockcentercolor
mhrdotstyle
mhrdotsize
mhrdotcolor
hrdotstyle
hrdotsize
hrdotcolor
mindotstyle
mindotsize
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 17 -
BX102P002
mindotcolor
hrhandsize
hrhandcolor
minhandsize
minhandcolor
sechandsize
sechandcolor
nAutoset
btxtcontent
btxtfontname
btimefontname
bweekfontname
bclockfontname
Return parameter:
Check return to status code definition
AddScreenProgramChroArea function
function AddScreenProgramChroArea(nScreenNo, nProgramOrd: Integer;
nX, nY, nWidth,
nHeight: integer): Integer; stdcall;
Add Timer area on DLL; This function does not do communication, just for settings.
Parameter
Description
nScreenNo
nProgramOrd
nX
nY
nWidth
nHeight
Return parameter:
Check return to status code definition
AddScreenProgramChroAreaFile function
function AddScreenProgramChroAreaFile(nScreenNo, nProgramOrd, nAreaOrd: Integer;
pInputtxt, pDaystr, pHourstr, pMinstr, pSecstr, pFontName: PChar;nSingal, nAlign, nFontSize,
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 18 -
BX102P002
nProgramOrd
Program order; Start from 0, if users delete one number from the
middle, the below will be modified automatically.
Area order; Start from 0, if users delete one number from the
middle, the below will be modified automatically.
Fixed text info
Day uni
Hour unit
Minute unit
Seconds unit
Timer font
Single or multi lines, 0 is single line; 1 is multi lines; nAlign is
not valid when its in single line
Align mode, its valid when its in multi lines; 0 is left, 1 is middle,
2 is right
Font size
Bold or not, 0 is no, 1 is yes
Italic or not, 0 is no, 1 is yes
Underline or not, 0 is no, 1 is yes
Fixed text color
Timer text color
Show Timer unit or not
Show accumulation or not
Use fixed text or not ; 0 is no, 1 is yes
Use day or not, 0 is no, 1 is yes
Use hour or not, 0 is no, 1 is yes
Use minute or not, 0 is no, 1 is yes
Use seconds or not, 0 is no, 1 is yes
Display width used by day 0 is automatic
Display width used by hour 0 is automatic
Display width used by minute 0 is automatic
Display width used by seconds 0 is automatic
End Year
End Month
End Day
End Hour
End Min
End Sec
nAreaOrd
pInputtxt
pDaystr
pHourstr
pMinstr
pSecstr
pFontName
nSingal
nAlign
nFontSize
nBold
nItalic
nUnderline
nTxtcolor
nFontcolor
nShowstr
nShowAdd
nUseTxt
nUseDay
nUseHour
nUseMin
nUseSec
nDayLength
nHourLength
nMinLength
nSecLength
EndYear
EndMonth
EndDay
EndHour
EndMin
EndSec
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 19 -
BX102P002
nAutoset
Return parameter:
Check return to status code definition
DeleteScreenProgram function
function DeleteScreenProgram(nScreenNo, nProgramOrd: Integer): Integer; stdcall;
Delete program, all informations in this program will be deleted too. This function does not
do communication, just for settings.
nScreenNo
nProgramOrd
Return parameter:
Check return to status code definition
DeleteScreenProgramArea function
function DeleteScreenProgramArea(nScreenNo, nProgramOrd, nAreaOrd: Integer): Integer;
stdcall;
Delete area, all informations in this area will be deleted too. This function does not do
communication, just for settings.
nScreenNo
nProgramOrd
nAreaOrd
Return parameter:
Check return to status code definition
DeleteScreenProgramAreaBmpTextFile function
function DeleteScreenProgramAreaBmpTextFile(nScreenNo, nProgramOrd, nAreaOrd, nFileOrd:
Integer): Integer; stdcall;
Delete file, all informations in this file will be deleted too. This function does not do
communication, just for settings.
nScreenNo
nProgramOrd
nAreaOrd
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 20 -
BX102P002
nFileOrd
Return parameter:
Check return to status code definition
Other commands
Before set timer power on and off, brightness adjustment, need to use
SetScreenTimerPowerONOFF, SetScreenAdjustLight, then, use SendScreenInfo as to send
command.
SetScreenTimerPowerONOFF function
function SetScreenTimerPowerONOFF(nScreenNo: Integer;
nOnHour1, nOnMinute1,
nOffHour1, nOffMinute1,
nOnHour2, nOnMinute2, nOffHour2, nOffMinute2,
nOnHour3,
nOnMinute3, nOffHour3, nOffMinute3: Integer): Integer; stdcall;
Users can set 3 nos power on and off time. This function is not for communication, only for
settings on DLL. Use SendScreenInfo to send commands.
nScreenNo
nOnHour1
nOnMinute1
nOffHour1
nOffMinute1
nOnHour2
nOnMinute2
nOffHour2
nOffMinute2
nOnHour3
nOnMinute3
nOffHour3
nOffMinute3
Return parameter:
Check return to status code definition
SetScreenAdjustLight function
function SetScreenAdjustLight(nScreenNo: Integer; nAdjustType, nHandleLight: Integer; nHour1,
nMinute1, nLight1,
nHour2, nMinute2, nLight2,
nHour3, nMinute3, nLight3,
nHour4,
nMinute4, nLight4: Integer): Integer; stdcall;
Set parameters of brightness adjustment, manual and timer mode.This function is not for
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 21 -
BX102P002
nAdjustType
nHandleLight
nHour1
nMinute1
nLight1
nHour2
nMinute2
nLight2
nHour3
nMinute3
nLight3
nHour4
nMinute4
nLight4
Return parameter:
Check return to status code definition
nSendMode
Return parameter:
Check return to status code definition
Attachment
Attachment 1
Time format
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 22 -
BX102P002
format
Description
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2000 12 30
00 12 30
12/30/2000
2000/12/30
00-12-30
00.12.30
12 30
12.30.2000
2000-12-30
30 12 2000
30:12:2000
30:12:00
2000
12
30
Week mode
format
Description
0
1
2
Monday
Mon
Description
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
20 59 59
20:59:59
20 59 59
8 59 59
20 59
20:59
AM
20()
59()
59()
8:59
AM 8:59
8:59 AM
AM 8 59
8 59 AM
8:59
Shanghai ONBON Software Technology Co.,ltd | BX-IV Dynamic Library User Manual
- 23 -