Главная страница
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.029 c
9-1121006782
grouzd[E]v
2005-07-10 18:46
2005.11.27
glBindTexture


2-1131430651
root
2005-11-08 09:17
2005.11.27
Отображение данных в ADO


2-1131462280
dj0n
2005-11-08 18:04
2005.11.27
как удалить строчку целиком?


2-1131628633
Piero
2005-11-10 16:17
2005.11.27
Получить Handle запускаемого процесса


1-1131018624
ancot
2005-11-03 14:50
2005.11.27
Прозрачный TWinControl