Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.11.27;
Скачать: CL | DM;

Вниз

com порт   Найти похожие ветки 

 
Grishberg   (2005-09-23 10:21) [0]

Мне нужно что бы комп в нужноее время включал или выключал какой-то двигатель или реле, есть только комп и Delphi 5.0 Не могли бы вы с остальным помочь(схема устройства, как программировать)?


 
GanibalLector ©   (2005-09-24 11:02) [1]

EscapeCommFunction


 
S@shka ©   (2005-09-24 18:41) [2]


> EscapeCommFunction

)))))))))))))))))))


 
GanbalLector   (2005-09-24 23:59) [3]

2 S@shka ©   (24.09.05 18:41) [2]
Что это было???


 
S@ska   (2005-09-25 02:12) [4]

2 GanbalLector
А это? "EscapeCommFunction"


 
GanbalLector   (2005-09-25 03:25) [5]

2 S@ska   (25.09.05 02:12) [4]
Это был ответ на [0], вообще-то.

The EscapeCommFunction function directs a specified communications device to perform an extended function.

BOOL EscapeCommFunction(

   HANDLE hFile, // handle to communications device
   DWORD dwFunc  // extended function to perform
  );


Parameters

hFile

Identifies the communications device. The CreateFile function returns this handle.

dwFunc

Specifies the code of the extended function to perform. This parameter can be one of the following values:

Value Meaning
CLRDTR Clears the DTR (data-terminal-ready) signal.
CLRRTS Clears the RTS (request-to-send) signal.
SETDTR Sends the DTR (data-terminal-ready) signal.
SETRTS Sends the RTS (request-to-send) signal.
SETXOFF Causes transmission to act as if an XOFF character has been received.
SETXON Causes transmission to act as if an XON character has been received.
SETBREAK Suspends character transmission and places the transmission line in a break state until the ClearCommBreak function is called (or EscapeCommFunction is called with the CLRBREAK extended function code). The SETBREAK extended function code is identical to the SetCommBreak function. Note that this extended function does not flush data that has not been transmitted.
CLRBREAK Restores character transmission and places the transmission line in a nonbreak state. The CLRBREAK extended function code is identical to the ClearCommBreak function.


 
S@ska   (2005-09-25 20:47) [6]

Да?
Вопрос вообще то был: "Не могли бы вы с остальным помочь(схема устройства, как программировать)?"

А то получается как в анекдоте.
-Вас. Иваныч, Приборы?
- 12
- Что 12???
- А, что "приборы"?


 
S@ska   (2005-09-25 20:52) [7]

Вообще-то я думаю - топик надо закрыть
GanbalLector - sorry



Страницы: 1 вся ветка

Текущий архив: 2005.11.27;
Скачать: CL | DM;

Наверх




Память: 0.48 MB
Время: 0.039 c
4-1127471099
HelpMy
2005-09-23 14:24
2005.11.27
служба и база данных


3-1129397442
Piter
2005-10-15 21:30
2005.11.27
TIBDatabase - потокобезопасен?


1-1130929466
feel
2005-11-02 14:04
2005.11.27
Кнопка на тулбаре


2-1131457851
John Doe
2005-11-08 16:50
2005.11.27
Инкапсуляция


14-1131004493
syte_ser78
2005-11-03 10:54
2005.11.27
GeForse 3 TI 200 DDR 64 Mb manly