freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于vc的云臺鏡頭控制操作臺軟件畢業(yè)論文-資料下載頁

2025-06-27 21:05本頁面
  

【正文】 monitoring system based on software, the key link. In this paper, objectoriented programming, using Visual C + + implementation monitoring system control and multihead screen Kenji function. 1..A remote monitoring system structure According to features of different hardware and connections, remote monitoring system can be divided into two types: bus type, star, star extended. One star is the most widely used, is the most economical one, the connection method shown in Figure 1. Using satellitebased remote monitoring system is characterized by foot: (1) of the lens can be two variable control: control of aperture, focal length, lens stretching。 (2) of the head can do full control: The system can be head of the upper and lower, left and right rotation, and the corresponding matching head cover to protect a full range of control equipment。 (3) can simultaneously display multiple channels of video information。 (4) Digital video recording function: to develop the plan according to the user intelligent video, and video recording at any time and can check on the video files and playback。 (5) coding relentless twoway munication codec: encoder and decoder with separate address code, used for addressing the digital signal, it can be the appropriate feedback information and alarm information back to the main control system can achieve oneway remote control。 (6) encoding control to save the line of control: the system by encoding all the points are bus control, the control points and control equipment mounted on the bus can only convenient and flexible. Coding control while improving the reliability of the device control, so that wiring and maintenance easier. The system can be accessed by an encoder up to four head and camera. PTZ camera is used to control the movement and stretch the lens, focusing and other tasks. Encoder corresponds to the reality of the site (such as the Harbin Railway Station), a head corresponding to a particular site, a monitoring point (such as the Harbin Railway Station ticket hall of people). Remote monitoring system control functions and control PTZ camera control, it must be achieved by means of serial munication. Serial munications can support a certain hardware key software to achieve more convenient and more mon approach is to use serial munication interface circuit, and then supplemented by the necessary software drivers. The nature of the serial port function as a CPU and serial devices encoding converter. When the data from the CPU through the serial port to send out, the byte data into a serial bit。 in receiving data, the serial data bits are converted to bytes. In the Windows environment, the serial port as part of full system resources. Applications to municate using the serial port must be provided to the operating system prior to coop required to open the serial port, munication port must be closed after the release of resources. In actual programming, just as mining and flow control means of munication is not, serial settings are different, this involves the initialization and read and write serial DCB details of the problem, DCB (Device Control Block) structure defines the serial munication device control settings, a number of important settings in the Ministry is done in this structure. In objectoriented programming, class implementation is the core issue, keep the serial port can operate the function with the package as a class: CCorePort. Fabric program as long as Lu Ming An example of a CComPort be on the serial port after the operation. Following on the CComPort several members of the class of the most monly used functions briefly. (1) Open the serial port: void OpenPort (int nPort, DWORD dwBaud = 9600. Parity parity NoParity. BYTE DataBits = 8, StopBits stopbits = 1, FlowControl fc = NoFlowControl, BOOL bOverlapped = FALSE)。 nPort as the serial number to just , dwBaut rate for the baud, parity for the parity bit, DataBits for the data bits, stopbits for the stop bit, fc for the current control settings, bOvedapped to whether the use of asynchronous munication. (2) write the serial port: DWORD WritePort (const void * lpBuf, DWORD dwCount)。 lpBuf for storing the data to write buffer, dwCount for the number of bytes to write. (3) Reading serial port: DWORD ReadPort (void * lpBuf, DWORDdwCount)。 lpBuf to read data stored in the buffer, dwCount as the number of bytes to read. (4) Close the serial port: void ClosePort0, the release of the requested resources. Head to achieve the monitoring system control functions, need to send mands to the camera pan and tilt drive for the following code to make it, head to the left below to manipulate an example: ① declare a CComPort instance of the class: CComPort m_Port。 ② beat Ji serial: m_Port. OpenPort (1,9600, CComPort:: NoParity)。 ③ write serial port: This is the control head to the left. void CCommand:: PTCToTop (BYTE EncordAddr, BYTE PtcAddr) / / operations head to the left {BYFE cmd [7]。 cmd [O] = Oxfc。 cmd [1] = Ox6。 cmd [2] = EricordAddr。 / / Encoder address cmd [3] = 0xl。 / / basketry and head directly connected to a constant value cmd [4] = PtcAddr。 / / device address head screw system cmd [5] = Ox4。 / / control head to the left cmdl6] = Oxl00((cmd [O] + cmd [1] + cmd [2] + cmd [3] + cmd [4] + cmd [5])% Oxff。 / / check code m_Port. WritePort (cmd, 7)。 }④ close the serial port: m_Port. ClosePort0. 3 remote onitoring system to achieve multiscreen display For remote monitoring systems, multiscreen display is an essential function. And traditional surveillance systems different enough: multiimage was not seeking the help of hard even to achieve, but enough to finish entirely by software. Objectoriented programming idea of this article defines a class CPicView, through it can easily achieve these functions, and can greatly increase the scalability of the software. To the main class of the CPicView interface functions briefly. (1) initialization: BOOL
點擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1