API

Program Protocol for iSEMC BV Series

Program Protocol for iSEMC BV Series

1-Communication Settings

1.1 Network communication

TCP Client Communication port: 8000

1.2 Serial port communication

Baud rate: 115200 Check Digit: None Data bits: 8bit Stop bits: 1bit

2-Instruction Formats

2.1 [Gwinsw(SP)Group_ID(SP)Window_ID(SP)Input_Channel_ID(CR)]

Switch current window, can’t use to open window, one number is one channel, start from 0 For example: Gwinsw(SP)2(SP)1(SP)0 (CR)// 2 is group id, 1 is window id, 0 is input channel id

2.2[Gwinsize(SP)Group_ID(SP)Windows_ID(SP)Input_channel_ID(SP)x1(SP)y1(SP)x2(SP)y2(CR)]

Opening windows on the video wall For example: Gwinsize(SP)1(SP)0(SP)0(SP)0(SP)0(SP)1920(SP)1080 (CR)// 1 is group ID, 0 is windows ID, 0 is input channel ID, 0 is X coordinate of start point, 0 is Y coordinate of start point, 1920 is X coordinate of End point, 1080 is Y coordinate of End point

2.3 [gsave(SP)Group_ID(SP)Scene_ID(CR)]

Save scene, For example: gsave(SP)1(SP)2(CR) // 1 is group ID, 2 is scene ID

2.4 [gload(SP)Group_ID(SP)Scene_ID(CR)]

Call scene For example: gload(SP)1(SP)2(CR) // 1 is group ID, 2 is scene ID

2.5 [greset(SP)Group_ID(CR)]

Close all windows in one group For example: greset(SP)1 (CR)// 1 is group ID

2.6 [gwinswitch(SP)Group_ID(SP)Window_ID(SP)Input_channel_ID(CR)]

Close one window in one group For example: greset(SP)1(SP)2(CR) // 1 is group ID, 2 is window ID

2.7[setgformatxy(SP)Group_ID(SP)Horizontal_Array(SP)Vertical_Array(SP)Horizontal_pixels(SP) Vertical_pixels(CR)]

Setup output array and output resolution For example: setgformatxy(SP)1(SP)3(SP)2(SP)1920(SP)1080(CR) // 1 is group ID, 3 is horizontal array, 2 is vertical array, 1920 is horizontal pixels and 1080 is vertical pixels

2.8[resolution(SP)Start_output_channel_ID(SP)End_output_channel_ID(SP)Resolution_ID(CR)]

Change system output resolution Note: Resolution ID - 0: 19201080 1: 14001050 2: 1366768 3: 1280720 4: 1024768 6: 38402160 8-15: Customize For example: resolution(SP)0(SP)3(SP)0(CR)// 0 is start output channel, 3 is end output channel, 0 is 1920*1080

2.9[Newddcmodetype(SP)Resolution_ID(SP)data1(SP)data2(SP)data3(SP)data4(SP)data5(SP) data6(SP)data7(SP)data8(SP)data9(SP)data10(CR)]

Customize system output resolution Resoluion ID: able to set from 8 to 15 Data1: Horizontal Frontier Data2: Total Horizontal Pixels-Data1-Data3-Data4 Data3: Horizontal Sync Width Data4: Activities Horizontal Pixels Data5: Vertical Frontier Data6: Total Vertical Pixels-Data5-Data7-Data8 Data7: Vertical Sync Width Data8: Activities Vertical Pixels Data9: Polarity 0-3 Data10: Refresh rate For example: newddcmodetype(SP)8(SP)48(SP)80(SP)32(SP)1920(SP)3(SP)26(SP)5(SP)1080(SP)0(SP)60(CR)

2.10 Input Signal Cropping

Input card slot id start from 0. If it’s 4 channels input card, the input card channel id is 0,1,2,3; if it’s 8 channels input card, the input card channel id is 0,1,2,3,4,5,6,7 [vt6cutleft(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)Cut_Pixel(CR)] Cut the left pixels of input signal [vt6cutright(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)Cut_Pixel(CR)] Cut the right pixels of input signal [vt6cutup(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)Cut_Pixel(CR)] Cut the upper pixels of input signal [vt6cutdown(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)Cut_Pixel(CR)] Cut the bottom pixels of input signal

2.11[vt6inputmode(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)Signal_type(CR)]

Setup input signal type Signal Type: 1=VGA 2=video 3=Ypbpr 4=DVI 5=HDMI

2.12 [setgroup(SP)Group_ID(SP)Start_output_channel_ID(SP)End_output_channel_ID(CR)] Setup output group, one number is one channel, start from 0. The group setting must be based on output card, one output card uses 2 group id is not supported currently. For example: setgroup(SP)1(SP)0(SP)8 (CR)// 1 is group ID, 0 is start channel, 8 is end channel

2.13 [rstgroup(CR)]

Delete all groups

2.14 [Setgroupname(SP)Group_ID(SP)Group_Name(CR)]

Setup group name

2.15 OSD Settings

Input card slot id start from 0. If it’s 4 channels input card, the input card channel id is 0,1,2,3; if it’s 8 channels input card, the input card channel id is 0,1,2,3,4,5,6,7 [openosd(SP)Input_card_slot_ID(SP)Input_card_channel_ID(CR)] Open OSD function [osdpos(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)x/2(SP)y/2(CR)] Setup OSD potision, x is horizontal pixel and y is vertical pixel. The instruction value is half of actual value. For example, if you want display OSD at the position 200*300 for input card slot 1 and input card channel 2, the command is osdpos 1 2 100 150 [osdcolor(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)R(SP)G(SP)B(CR)] Setup OSD color, for example, red is 255 0 0, green is 0 255 0 [osd(SP)Input_card_slot_ID(SP)Input_card_channel_ID(SP)Content(CR)] Setup OSD content, support chinese, english, number and character [closeosd(SP)Input_card_slot_ID(SP)Input_card_channel_ID(CR)] Close OSD function on one input channel of one input card slot

2.16[setgxy(SP)group_ID(SP)New_output_channel_ID(SP)x1(SP)y1(SP)x2(SP)y2(CR)]

Output channel replacement, the replacement must be setup in same group currently For example: setgxy(SP)1(SP)9(SP)1921(SP)0(SP)3840(SP)1080(CR)// 1 is group ID, 9 is new output channel ID, 19210 is the start position of channel 2 and 38401080 is the end position of channel 1. This insturction will replace channel 2 by channel 9.

Last updated