Location:
Search - stop an wait
Search list
Description: 计算机网络课程设计,可实现停等协议的演示实验,-computer network design courses can achieve such an agreement stopped the demonstration,
Platform: |
Size: 11554 |
Author: 张三 |
Hits:
Description: 计算机网络课程设计,可实现停等协议的演示实验,-computer network design courses can achieve such an agreement stopped the demonstration,
Platform: |
Size: 11264 |
Author: 张三 |
Hits:
Description: this an stop and wait arq implementation in socket-this is an stop and wait arq implementation in socket
Platform: |
Size: 10240 |
Author: som |
Hits:
Description: This m-file implements a simple data acquisition gui with multiple channels and custom triggering
It demonstrates how to:
1) Use nested functions to simplify data acquisition programs
2) Use a simple GUI (a couple of pushbuttons) to start and stop data acquisition.
3) Wait for an event/trigger (like a button press) and log pre-event or pre-trigger data from multiple synchronized channels.
4) Record pretrigger data based on custom criteria. In this m-file the triggering event is a button click. However, the event could be any custom criterion (e.g., the data amplitude is greater than a threshold *and* a toggle button is enabled).
Requires: the Data Acquisition Toolbox (TM) and the Winsound adapter. It does not depend on any hardware-specific capabilities. -This m-file implements a simple data acquisition gui with multiple channels and custom triggering
It demonstrates how to:
1) Use nested functions to simplify data acquisition programs
2) Use a simple GUI (a couple of pushbuttons) to start and stop data acquisition.
3) Wait for an event/trigger (like a button press) and log pre-event or pre-trigger data from multiple synchronized channels.
4) Record pretrigger data based on custom criteria. In this m-file the triggering event is a button click. However, the event could be any custom criterion (e.g., the data amplitude is greater than a threshold*and* a toggle button is enabled).
Requires: the Data Acquisition Toolbox (TM) and the Winsound adapter. It does not depend on any hardware-specific capabilities.
Platform: |
Size: 4096 |
Author: Anna |
Hits:
Description: Compared to my previous tutorial on recording voice using SAPI, this application records your voice through a microphone and saves it to a temporary file after you speak for 10 seconds.
Just wait for my next tutorial which will record your voice till you press "Stop" and not for seconds. This tutorial just gives you an idea on how to use MCI, the Media Control Interface.
Platform: |
Size: 59392 |
Author: xinghe |
Hits:
Description: 概述一下原理和每个类的作用
(1): CTask 一个任务基类,作为线程的参数用
(2): CWorkThread:工作线程类,轮询检测参数是否可用,如果可用的话,
就去调用参数CTask的执 行函数Execute,如果参数不可用就等待
(3): CWorkQueue:是一个任务队列,里面装载CTask子类的对象,是一个对象的容器
(4): CWorkThreadPool:工作线程池,其中包含了工作线程组,调度线程,调度线程不停的检测
任务队列中是否有可用任务对象,如过取到一个有效的任务对象,就从工作线程组中查找出来
一个空闲的工作线程,把这个任务交给这个空闲的线程去执行,如果没有空闲线程则创建新
的工作线程并添加到工作线程组中。
(1),(2),(3),(4)组成了库的核心,可以稍加修改进行应用
其他附属类:
(5):CSimpleUDP 一个简易的封装的UDP通讯类
(6):CLogHelper 一个线程安全的日志类,将日志存储到指定文件并能打印到标准输出
特点:支持windows和Linux平台
-Outline the principles and the role of each class
(1): CTask a task base class, as arguments to thread
(2): CWorkThread: Class of worker threads, polling detection parameters are available, if available,
Go to the implementation of the function call parameters CTask Execute, if the parameter is not available to wait
(3): CWorkQueue: a task queue, which loaded CTask subclass object is a container object
(4): CWorkThreadPool: worker thread pool, which contains the group of worker threads, scheduling threads, thread scheduling non-stop testing
Task queue is available in the task object, such as over the task of taking to a valid object, the thread from the Working Group to find out
An idle worker thread, this task to the idle thread to execute, if no idle thread is to create a new
The work of the thread and added to the thread group.
(1), (2), (3), (4) form the core of the library, can be modified for application
Other sub categories:
(5): CSim
Platform: |
Size: 38912 |
Author: 金建业 |
Hits:
Description: 数字密码锁设计 基本要求:
(1)开锁密码为四位十进制数。(2)按任意一个键后,系统进入等待状态,显示0000,此时若按密码输入键就将此刻外接四位输入数据线线上的一个十进制数字读入,将先前输入的数据左移一位,最末位加入刚输入的数据后显示,读入数字超过4个时,只保留最近输入的四个数;若按一下删除键可以消除刚输入的数字,数据右移一位,高位补0。若按确认键,将读入的4位数字与系统密码比较,正确的话开锁,数码管都显示“P”,不正确就显示“E”,拒绝开锁。(3)连续尝试3次没有能开锁进入死锁状态,拒绝接受输入,同时发出报警信号,显示“F”。3分钟后停止报警,又恢复到正常待机状态,可以重新接受密码输入。-Digital lock design basic requirements:
(1) unlock password is four decimal numbers. (2) Press any key, the system enters a wait state, 0000, at this time if the password input by four key will now add a line of input data line read decimal numbers, the left one previously entered data bit, just add the last bit of input data display, digital read more than 4, only keep the last four the number of inputs When you click the Delete button to remove the number you just entered, the data shifted to the right one, high up 0. If you press the Enter key to read the 4-digit password with the system compared to the right, then unlock, LED show "P", is not correct to show "E", refused to unlock. (3) three consecutive attempts failed to lock into a deadlock state, refused to accept the input, an alarm signal that the "F". 3 minutes to stop the alarm, has returned to normal standby mode, you can re-accept the password.
Platform: |
Size: 328704 |
Author: chenpeibei |
Hits:
Description: Stop-and-wait ARQ is a method used in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order. It is the simplest kind of automatic repeat-request (ARQ) method. A stop-and-wait ARQ sender sends one frame at a time it is a special case of the general sliding window protocol with both transmit and receive window sizes equal to 1. After sending each frame, the sender doesn t send any further frames until it receives an acknowledgement (ACK) signal. After receiving a good frame, the receiver sends an ACK. If the ACK does not reach the sender before a certain time, known as the timeout, the sender sends the same frame again.-Stop-and-wait ARQ is a method used in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order. It is the simplest kind of automatic repeat-request (ARQ) method. A stop-and-wait ARQ sender sends one frame at a time it is a special case of the general sliding window protocol with both transmit and receive window sizes equal to 1. After sending each frame, the sender doesn t send any further frames until it receives an acknowledgement (ACK) signal. After receiving a good frame, the receiver sends an ACK. If the ACK does not reach the sender before a certain time, known as the timeout, the sender sends the same frame again.
Platform: |
Size: 8192 |
Author: sathyapriyanga |
Hits:
Description: Stop-and-wait ARQ is a method used in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order. It is the simplest kind of automatic repeat-request (ARQ) method. A stop-and-wait ARQ sender sends one frame at a time it is a special case of the general sliding window protocol with both transmit and receive window sizes equal to 1. After sending each frame, the sender doesn t send any further frames until it receives an acknowledgement (ACK) signal. After receiving a good frame, the receiver sends an ACK. If the ACK does not reach the sender before a certain time, known as the timeout, the sender sends the same frame again.-Stop-and-wait ARQ is a method used in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order. It is the simplest kind of automatic repeat-request (ARQ) method. A stop-and-wait ARQ sender sends one frame at a time it is a special case of the general sliding window protocol with both transmit and receive window sizes equal to 1. After sending each frame, the sender doesn t send any further frames until it receives an acknowledgement (ACK) signal. After receiving a good frame, the receiver sends an ACK. If the ACK does not reach the sender before a certain time, known as the timeout, the sender sends the same frame again.
Platform: |
Size: 8192 |
Author: sathyapriyanga |
Hits: