Главная страница
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.641 c
14-1131277515
Pazitron_Brain
2005-11-06 14:45
2005.11.27
Как бы вы обновили такой компьютер?


2-1131113530
AlanB
2005-11-04 17:12
2005.11.27
Работа с файлами excel


3-1129372829
Иванов__
2005-10-15 14:40
2005.11.27
Как можно выгрузить данные в dbf?


4-1127564241
Реактор
2005-09-24 16:17
2005.11.27
Keybd_Event не хочет нажимать на "точку"


6-1124122565
Vasiliy
2005-08-15 20:16
2005.11.27
idFTP + Proxy = Любовь и согласие :-(