English
Forum

writecom bow ?

 

GDL
Hello

writecom(handle&,string$)

can under WinME and Win98 constantly the program abschmieren.
XP goes correct.

Getestet with the last Subscriptionslieferung of XProfan 10
CompileMarkSeparation
cls
declare comi&,erfolg%,text&[60],daten$,name$,fehler%
==================================================================

proc empfangen

    name$=@ReadCom$(comi&, 1)
    @ComError(comi&)
    casenot name$="":return

    WhileNot name$ = ""

        name$=@ReadCom$(comi&, 1)
        @ComError(comi&)

    EndWhile

endproc

==================================================================

proc senden

    Folgenden Befehl Remen, dann kein Absturz unter WinME und Win98
    fehler%=WriteCom(comi&,daten$)
    ComError(comi&)

endproc

======================================================================
comi&=opencom("Com2:",4096,4096)
erfolg%=SetCom("COM2:9600,N,8,1")
daten$=chr$(255)

WhileLoop 50

    daten$=chr$(255)
    senden
    empfangen

EndWhile

waitinput
closecom>(comi&)

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
06/02/06  
 




GDL
Hello Roland,

have subesquent code on all me known Rechnern with NOT WinXP Betriebssystem and Profan 8 To to last Subscribtionslieferung of X10 tested.
In all Make depends itself the program with writecom on.The interface becomes but without Error (success%=0) opened.
On Rechnern with WinXP runs correct.the whole fell me yet not, I always only with the RS232 read have.reading goes too under 95,98,ME.
CompileMarkSeparation
cls
declare komi&,erfolg%,daten$,fehler%
komi&=opencom("Com2:",2048,2048)
erfolg%=SetCom("COM2:9600,N,8,1")
print erfolg%
fehler%=WriteCom(komi&,"W")
print fehler%
ComError(komi&)
waitinput
closecom(komi&on>

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
06/03/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.041 Views

Untitledvor 0 min.
H.Brill04/27/24

Themeninformationen

this Topic has 1 subscriber:

GDL (2x)


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