[an error occurred while processing this directive]
Придется ткнуть фейсом (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Алексей Мусин 11 января 2002 г. 08:09
В ответ на: Не можешь сказать конкретно - не отвечай. отправлено Бестолковый 10 января 2002 г. 12:22

По ключевым словам Port, port access, i/o на эту ссылку действительно не выйти, но помогло тривиальное serial.

PS. Не делай добро - не получишь зла.

How can I control the DTR and RTS serial lines?

Serial Port Init.vi can be used to configure the serial port for hardware handshaking; however, some applications may require manual toggling of the DTR and RTS lines. Because the interface to the serial ports is platform-dependent, each platform has a separate mechanism to control the lines.

Windows

The LabVIEW for Windows distribution contains a VI which you can use to drive the DTR and RTS serial lines. The VI serial line ctrl.vi, located in vi.lib\Instr\_sersup.llb, can be used to control these lines. The VI will toggle these lines according to the function input. Valid codes for the input are:

0 - noop

1 - clear DTR

2 - set DTR

3 - clear RTS

4 - set RTS

5 - set DTR protocol

6 - clr DTR protocol

7 - noop2



Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru