Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2005.11.27;
Скачать: [xml.tar.bz2];

Вниз

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 вся ветка

Форум: "WinAPI";
Текущий архив: 2005.11.27;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.014 c
2-1131656225
НафаняЕх
2005-11-10 23:57
2005.11.27
Что такое смещение?


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


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


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


9-1121120467
Conferno
2005-07-12 02:21
2005.11.27
Ode или Newton в GLScene?





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский