English
Forum

How can I check, whether on COM1 one unit connected is?

 

RGH
See cover!

I have here (in the firm) PCs with a seriellen Port on COM1. I should for a Program somehow check whether a serielles unit on these interface angestöpselt is, circa in the program with are missing the Gerätes defined Options auszublenden. has someone a idea? (In XProfan; Delphi goes but too.)

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
06/19/17  
 




E.T.
Huch , Roland has 'ne question ... Joke ??

in the serious: on the COM-Port can Yes not plenty read, what a unit concerns. If, How I your question entnehme, the COM-Port famous is and, which unit drann stick should, would I simply whom COM-Port inquire (with for unit known Settings for Baud / Parity etc.) and on a response hoping.
ought to a response arrive, is Schonmal one unit on the COM angestöpselt. then The response evaluate, if The data so looks How expects, isses ok. If unerwarteter "Daten - Müll" or nothing ankommt, is hold nothing angestöpselt or one other unit, what on inquire not reacted or unsinnige data supply.

so would I rantasten ....
 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
06/19/17  
 




funkheld
regularly one Ping Send with Seriell if one unit connected is, if the not after a designed Time(ms) present is , is too no unit connected.

greeting
 
06/19/17  
 




H.Brill
usually should still one unit
the DTR signal ((Data terminal Ready)
settle, if it connected becomes.

Perhaps can this somehow inquire.
on can something like Yes with SetComExt().
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
06/19/17  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.870 Views

Untitledvor 0 min.
Normann Strübli01/30/23
Langer01/01/22
Walter05/17/21
iF10/31/20
More...

Themeninformationen

this Topic has 4 subscriber:

H.Brill (1x)
funkheld (1x)
E.T. (1x)
RGH (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie