博文

 七大恶心笑话(空腹进入)(2005-09-30 13:53:00)

摘要:一、偶小时侯吃饭不老实,一老农为了教育我,对我说:六零年苦呀,没饭吃,抠出来的鼻屎从来不扔的. 二、有个富豪找佣人,面试的题目是上厕所,前几个上完后都没有洗手就出来了,富豪因此把他们打发走了,只有一个洗了手,于是富豪留下了他.可是有一天,富豪却发现他没有洗手就出来了, 富豪问他是为什么? 佣人答到:“偶今天带了手纸...”  三、一个男子看见一家商店大减价,便走了进去。“您买些什么?”“我想买狗食。”“我们有规定,您必须证明您有狗。” “哪儿有这样的规定?”“减价商品就是这样。”男子与售货员磨了半天,售货员还是不同意卖给他。没有办法,男子只好回家把狗带来,才买到了狗食。过了几天,男子又去这家商店买猫食。“给我两盒猫食。”“我们有规定,您必须证明您有猫。”还是那个售货员,男子又与她磨蹭了半天,结果还是不得不回家把猫带来才买到了猫食。又过了几天,男子抱着挖有一个洞的大纸箱来到那家商店,找到那个售货员。“您买些什么?”“你把手伸进去就知道。”售货员把手伸了进去:“是什么呀,粘乎乎的。”“我想买两卷儿手纸。”   四、有个人去带著朋友去探望他的外婆。当他和外婆说话时,他的朋友开始吃著咖啡桌上放的花生,把花生都吃完了。当他们离开时,他的朋友对外婆说:「谢谢您的花生」外婆回应说「喔!嗯!唉!自从我牙齿掉光后,我就只能吸掉它们外层的巧克力而已。老了,咳。。。 五、有个人很喜欢“麻辣粉丝煲”这道菜。有一次,他上饭馆,又点了这道菜。但侍者告诉他,这道菜已经卖完了。“真的卖完了吗?”他很失望地问。“先生,真的卖完了。你瞧,最后一份卖给那桌的先生了。”侍者回答道。那人顺着侍者的指点,看见有个很体面的绅士坐在邻座。绅士的饭菜已经吃得差不多了,但那份“麻辣粉丝煲”居然还是满满的。那人觉得绅士很浪费美味,所以他走到绅士旁边,指着那份“麻辣粉丝煲”,很有礼貌地问:“先生,您这还要吗?”绅士很有风度地摇摇头。于是那人立刻坐下,拿起调羹狼吞虎咽起来。风卷残云,一会儿一半下肚了,突然间他发现在砂锅底躺着一只很小很小但皮毛已长全的小老鼠。一阵恶心,那人把吃下去的所有粉丝通通吐回了砂锅里。当他在那儿翻胃不已的时候,那绅士用很同情的眼光看着他,说:“很恶心是吗?刚才我也是这样……  六、这天,酒店老板正在大厅巡视。来了一乞丐上前说道:“老板给个牙签行吗?”老板给他一个打发走了。一会儿,又来一个乞丐,也是来要......

阅读全文(1984) | 评论:0

各国老公带绿帽后的反应 (2005-09-30 13:42:00)

摘要: 各国老公带绿帽后的反应!!! if(bgCol=="#ffffff"){ var pvStr = getPV(18805143); document.write(""+pvStr+" 1 2 >> "); } >>   topUserStr = ""; if(bgCol!="#ffffff"){ var topUser = document.getElementsByName("0")[0]; if(topUser){ if(topUser.id != "anony_crm" && topUser.id != "anony_club") topUserStr = topUser.id=="diego_04"?"楼主:":""; } } [ document.write(topUserStr) 迭哥] 发表于2005-09-22 22:24 caixinUrl = "彩信"; [ document.write(caixinUrl); 彩信][引用][回复][编辑] 美国老公:一夜未眠,第二天一大早给自己的律师打我违规,举报我!,详谈了三小时,收集老婆不忠的证据一大堆,然后回家对老婆说:“亲爱的,我们法庭上见。”

  
法国老公:一夜未眠。第二天一大早跑去花店买玫瑰九百九十九朵送给老婆,另外再买春药一大盒,准备重振雄风以挽回老婆芳心。

  俄罗斯老公:一夜未眠。第二天一大早穿起祖先的盔甲、举起祖先的长剑,喝下一瓶伏特加,大步流星走到那个男人门前,高声叫嚷,要求决斗。

  日本老公:一夜未眠。第二天下班后直奔小酒馆,一杯一杯又一杯,不醉不归。从此以后爱上酒馆,夜夜大醉而归。

  德国老公:一夜未眠。第二天一大早打开笔记本电脑,上网收集各种数据,以求证老婆为什么会有外遇。天长日久竟变成婚姻问题专家,著论文无数篇,发表后获国际大奖,得奖金若干。

  
意大利老公:一夜未眠。第二天一大早老公......

阅读全文(2348) | 评论:0

可能是德文的解码GPS数据流的VB文章(2005-09-30 13:32:00)

摘要:' #Mandix Repository#***************************************************
' * Programmer Name  : David Auche
' * Web Site         : http://www.d2dsources.com
' * E-Mail           :
' * Date             : 09/27/2004
' **********************************************************************
' * Comments         : Decoder un code NMEA envoyer par un GPS (a l'aide mscomm - rs232)
' *
' * Ce code permet de decoder les phrases recues par le GPS. Les
' * phrases sont sous forme de code NMEA (faut programmer votre GPS
' * sur mode NMEA).  On utilise le composant Mscomm de Microsoft
' * qui nous permet d'acquise les informations du GPS par le port RS232.
' *
' ********************************************************************** Private Sub Form_Load()
&......

阅读全文(4775) | 评论:0

用于视频监视的云台镜头系统串行通信的实现(2005-09-30 13:26:00)

摘要: 用于视频监视的云台镜头系统串行通信的实现[*] 董延军 金蕾 司维 周恕义 (北京工业大学现代教育技术中心,zsy@bjut.edu.cn)   摘 要:本文介绍了如何运用VB6.0的通信控件Mscomm来实现云台镜头的串行通信,内容包括云台镜头系统介绍、设计原理和软件设计部分介绍等。 关键词:云台镜头 串行通信 视频 VB6.0 Mscomm控件   在实时监控、在线直播、公安、教育等许多领域都需要用到计算机控制云台动作及CCD摄像头的焦距、光圈。云台镜头控制系统是通过计算机串口/并口发送控制指令到解码器,再由解码器控制相应的继电器达到各个电源并关的闭合,从而实现摄像头在垂直方向的运动、水平方向的摆动以及电子镜头的聚焦、光圈和变倍。VisualBasic6.0是在Windows平台下开发串行通信程序的高效编程语言工具,一方面我们可以利用VB本身提供的ActiveX控件,另一方面可通过调用由C++开发的动态链接库(DLL)来控制硬件操作。本文将介绍利用VB6.0通信控件Mscomm来实现云台镜头控制系统的串行通信。   1 云台镜头控制系统介绍 图1 云台控制系统设备布局和连线示意图    云台、镜头控制系统由计算机、解码器、云台和CCD摄像头等组成。一台计算主机可通过解码器阵列控制多个云台,控制系统的布局和连线示意如图1所示。在本系统中,用户可以通过计算机串口发出控制指令,解码器解析指令,获知操作对象(具体哪个云台)、操作动作(俯仰、左右摆动等)后,通过继电器接通/断开相应的线路,从而使相应电机运转或停止。除此之外,云台一般还有自动开关控制。如果自动开关打开,云台可自动进行左右摆动,当一个方向摆动到尽头时,会触发一个限位行程开关而转向方向。关闭自动,则停止摆动。   2 设计原理   在云台镜头控制系统中,解码器起着核心的地位。设计云台镜头控制系统主要解决的问题是将各项操作进行编码,这样解码器收到指令后,才能够正确解析并控制继电器的断开闭合。解码器是用来与计算机进行通信的一种设备,它封装了底层硬件程序的编写,因此我们只需要利用解码器开发商提供的有关协议,通过RS232或者RS485串行接口对解码器发出指令即可[3]。 本系统中我们采用常用的RS-232......

阅读全文(4383) | 评论:1

单片机与PC机串行通讯之VB篇(2)(2005-09-30 13:23:00)

摘要:
单片机与PC机串行通讯之VB篇(2)
Ryan 发表于 2005-6-7 14:38:16 下面是单片机里面的汇编程序:              
         ORG 0000H
         AJMP MAIN
         ORG 0023H                       ;串行中断入口地址
        JMP COM_INT                     ;串行中断服务程序 ;***********  主程序开始    *******************
         ORG 0030H
  MAIN:   MOV SP,#30H            ;设置堆栈
          CALL REST&......

阅读全文(2576) | 评论:0

单片机与PC机串行通讯之VB篇(1) (2005-09-30 13:20:00)

摘要:
单片机与PC机串行通讯之VB篇(1)
Ryan 发表于 2005-6-7 14:35:32 网上有很多关于PC机与单片机串行通讯的文章和程序,但有些不太适合初学者。我最近把网上搜集的程序消化并修改了一下,并在试验板上进行了一些简单的调试。希望对大家有用。   PC机上的程序是用VB编的,VB可以说是最容易上手的语言了,也很容易读懂。下面是VB的源程序: Private Sub Form_Load()     MSComm1.CommPort = 1 '使用串行口1     MSComm1.Settings = "4800,N,8,1" '波特率4800,无校验,8个数据位,1个停止位。     MSComm1.InputLen = 1 '当使用MSComm1.Input时,每次从接收缓冲区取一个字节。     TestTimer.Interval = 20 '定时器的中断间隔为20ms,用于更新显示时间。
   
End Sub Private Sub Command1_Click()     Dim echoch% '命令变量
   
    Dim ch$     On Error Resume Next '简单的错误处理     Label1.Caption = MSComm1.Settings '显示串行口的设置。
   
    TestTimer.Enabled = True     If Command1.Caption = "通信" Then '若当前命令按扭的提示为“通信”则开始发送和         Command1.Caption = "停止" '接受数据,......

阅读全文(4468) | 评论:0

GPS - NMEA sentence information-3(2005-09-30 13:12:00)

摘要: $GPSTN Multiple Data ID. This sentence is transmitted before each individual sentence where there is a need for the Listener to determine the exact source of data in the system. Examples might include dual-frequency depthsounding equipment or equipment that integrates data from a number of sources and produces a single output. $--STN,xx
xx = Talker ID number, 00 to 99 $GPVBW Dual Ground / Water Speed Water referenced and ground referenced speed data. $--VBW,x.x,x.x,A,x.x,x.x,A
x.x = Longitudinal water speed, knots
x.x = Transverse water speed, knots
A = Status: Water speed, A = Data valid
x.x = Longitudinal ground speed, knots
x.x = Transverse ground speed, knots
A = Status: Ground speed, A = Data valid $GPVTG Track Made Good and Ground Speed. eg1. $GPVTG,360.0,T,348.7,M,000.0,N,000.0,K*43 eg2. $GPVTG,054.7,T,034.4,M,005.5,N,010.2,K*41
054.7,T True course made good over ground, degrees 034.4,M ......

阅读全文(3033) | 评论:0

GPS - NMEA sentence information-2(2005-09-30 13:11:00)

摘要: $GPGST GPS Pseudorange Noise Statistics Example: $GPGST,024603.00,3.2,6.6,4.7,47.3,5.8,5.6,22.0*58 Field Example Comments Sentence ID $GPGST   UTC Time 024603.00 UTC time of associated GGA fix RMS deviation 3.2 Total RMS standard deviation of ranges inputs to the navigation solution Semi-major deviation 6.6 Standard deviation (meters) of semi-major axis of error ellipse Semi-minor deviation 4.7 Standard deviation (meters) of semi-minor axis of error ellipse Semi-major orientation 47.3 Orientation of semi-major axis of error ellipse (true north degrees) Latitude error deviation 5.8 Standard deviation (meters) of latitude error Longitude error deviation 5.6 Standard deviation (meters) of longitude error Altitude error deviation 22.0 Standard deviation (meters) of latitude error Checksum *58     $GPGSV GPS Satellites in view eg. $GPGSV,3,1,11,03,03,111,00,04,15,270,00,06,01,010,00,13,06,292,00*7......

阅读全文(3814) | 评论:0

GPS - NMEA sentence information-1(2005-09-30 13:06:00)

摘要:  Glenn Baddeley - GPS - NMEA sentence information Contents All $GPxxx sentence codes and short descriptions 26 interpreted sentences transmitted by GPS unit 12 interpreted Garmin proprietary sentences transmitted by GPS unit 8 interpreted Garmin proprietary sentences received by GPS unit Format of latitudes and longitudes References [ Top ] [Glenn's GPS Contents Page] All $GPxxx sentence codes and short descriptions $GPAAM - Waypoint Arrival Alarm $GPALM - GPS Almanac Data $GPAPA - Autopilot format "A" $GPAPB - Autopilot format "B" $GPASD - Autopilot System Data $GPBEC - Bearing & Distance to Waypoint, Dead Reckoning $GPBOD - Bearing, Origin to Destination $GPBWC - Bearing & Distance to Waypoint, Great Circle $GPBWR - Bearing & Distance to Waypoint, Rhumb Line $GPBWW - Bearing, Waypoint to Waypoint $GPDBT - Depth Below Transducer $GPDCN - Decca Position $GPDPT - Depth $GPFSI - Frequency Set Information $GPGGA - Global Positioning ......

阅读全文(3689) | 评论:0

NMEA 0183 and GPS(2005-09-30 13:00:00)

摘要: NMEA 0183 and GPS: Decoding the NMEA 0183 standard in your GPS Software Project As GPS units become more common and less expensive, a whole new set of location-aware applications and services are popping up to take advantage of its capabilities. If you are one of the thousands of software developers tasked with adding GPS capability to an application, you have probably come across the NMEA 0183 standard, the protocol by which GPS units communicate with other devices. Since decoding the NMEA 0183 standard is the key to integrating GPS data in your VB, C# or C++ project, let's examine some strategies for handling NMEA 0183 output. The Big Picture Before we dive into the guts of the NMEA 0183 standard, let's take a step back and examine how the NMEA 0183 data stream fits into the larger structure of our application. There are three hurdles that we must first overcome before we can begin decoding the NMEA 0183 stream and using the data in our application: 1) Getting the hardware conn......

阅读全文(3652) | 评论:0