Главная страница
    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.45 MB
Время: 0.02 c
1-1130961477
Freeon
2005-11-02 22:57
2005.11.27
Нужно сгенерировать "подпись" к файлу


14-1131312974
Gero
2005-11-07 00:36
2005.11.27
Блокнот -> Перейти


2-1131695811
Al_Ba
2005-11-11 10:56
2005.11.27
Как программно установить атрибуты файла при его создании


2-1131805105
Olga_b
2005-11-12 17:18
2005.11.27
ПРОПИСНЫЕ БУКВЫ!


2-1131710736
Кирилл_
2005-11-11 15:05
2005.11.27
ПОМОГИТЕ ПЛЗ.





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский