English
Forum

Relay Card serial interface and Profan

 
- Page 1 -



Herbert
N.
Hello

Have the trouble that I The serial 8-case Relay Card of Conrad not address can
in Qbasic klakerts

I use Prf 5.0 / Winme / P700 ( net laugh the is well enough for such things grins )

here little Program to that study I wrong make:
CompileMarkSeparation
Declare h%,e%,a$,b$,c$,d$,e$,f$,g$
Declare Init$,Kanal1$,id%,Pause&
@CloseCom(COM1)

proc Pause

    let Pause& = &GetTickCount
    Let Pause& = @ADD(Pause&,100)

    while @GT(Pause&,&GetTickCount)

    wend

endproc

Font 1
let id% = COM1
LET h% = @OpenCom(id%,1024,1024)
@SetCom(id%:19200,N,8,1)
@SetComExt(id%,10,0,0,$0001,0,0)
LET f$ = @ReadCom$(id%,4)
Pause
LET g$ = @ComError(id%)
Pause
let Init$=CHR$(1),CHR$(5)CHR$(2),CHR$(6)
let Kanal1$=CHR$(3),CHR$(5),CHR$(8),CHR$(14)
print  Fehler  : ;@ComError(COM1)
@WriteCom(h%,Init$)
pause
@ReadCom$(id%,4)
Pause
@WriteCom(h%,Kanal1$)
Pause
print Init$
Print id%
LET f$ = @ReadCom$(id%,4)
Pause
print  Fehler  : ;@ComError(id%)
print  Gelesen : ;f$
Pause
print  Gelesen : ;@ReadCom$(id%,4)
Pause
@CloseCom2>(id%)

thanks beforehand
 
02/26/06  
 



 
- Page 3 -



Detlef
Tussing
Hello Georg

I have one new Problem, where You or Maybe anyone else help can

one in PROFAN geschriebenes Prog that I in a EXE-File changes would like I
with anhängenden Paramtern öffenen. z.B. Relais.exe 321 The 321 ought to in the Relais.exe as Variable genutz go

greeting
Detlef
 
Gruß Detlef Tussing
Windows XP, XProfan 10
02/11/07  
 



with Params started:
CompileMarkSeparation
Shell "meinprogramm.exe 321"
>

The Params detect and a Var take off:
CompileMarkSeparation
declare myvar&
case %pcount : myvar&=val(par$(1))
nun liegt in myvar z.B. 321re>

Hm?

The Help helps you this at cue "Kommandozeilen-Parameter".
 
02/11/07  
 



 
- Page 4 -



Michael
Wodrich
but then %parcount for Kommandozeile....
 
Programmieren, das spannendste Detektivspiel der Welt.
02/11/07  
 



Huuuuups! naturally! not PCount  separate parcount . my Error!
 
02/11/07  
 




Detlef
Tussing
thanks you both, functions very well.

the next would The Relay Card over one analoges modem abzusetzen, circa too with our Aussenwachen The Tore to open.

who wisely for a response as Anfangshilfe?

for any Information be I very grateful
 
Gruß Detlef Tussing
Windows XP, XProfan 10
02/14/07  
 




H.Brill
Hi,
The Relay Card have so did i and it functions too well.
I Have there yet the 8channel 10bit Datenerfassungs Module
present.
has so already someone experience collect can ? with
the middle-aged Turbo Basic code with (out(ImP(...)) come I do not
so right clear.
Perhaps has Yes someone one small example parat.
 
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.
02/25/07  
 




Detlef
Tussing
Hello H.B.

what kind of Module is the
Maybe can I help, if You me More Information Gibts.

Greeting Detlef

yet without ATAVAR, but I work dran.
 
Gruß Detlef Tussing
Windows XP, XProfan 10
02/25/07  
 




H.Brill
its too from the firm CONRAD, Best.Nr. 190226.
Have one Image appended, where too the View source is.

goes me only ums Grundsätzliche, so I time at least
ne small battery Is it Unikode can.

PS: How klemmt something on ? Pluspol on a the 8 Lines and
Minuspol on GND ?

219 kB
Hochgeladen:02/25/07
Downloadcounter94
Download
 
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.
02/25/07  
 




Detlef
Tussing
Hello H.B.

Related to the anklemmen is correctly.

One Prog can I you in the momentum not supplying, but I try it, becomes but not slight I The Platine to that Verify not have.

but You can time in my Prog for Relay Card look over, there read I auc Data from. You must (only) 12 time read (for too the commands in BASIC `for i = 1 to 12`)

see you soon

Greeting Detlef

1 kB
Hochgeladen:02/25/07
Downloadcounter77
Download
 
Gruß Detlef Tussing
Windows XP, XProfan 10
02/25/07  
 




Detlef
Tussing
Hello H.B.

have me einwenig schlau made.
Tipp time with Date LTC1090 one there there each crowd Help, setting but one little technical Grundwissen advance.
my Prog becomes you not help, there with the Relay Card The RX and TX Lines the V24 benuzt go. with your Platine is the differently, there go The Lines RTS, CTS and DTR using. Dmit have I not yet worked.

can also no Prog write, I not testing can.

Ask times GDL the has there More experience therein.

Greeting Detlef
 
Gruß Detlef Tussing
Windows XP, XProfan 10
02/26/07  
 




H.Brill
thanks for your trouble.
will be time weitersehen. One Prog custom I do not
absolutely. me interested really only, How I
very vorgehen should, or. How the 10bit String gesendet becomes.
 
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.
02/26/07  
 




Detlef
Tussing
look with Date mere there's the right well described

Greeting Detlef
 
Gruß Detlef Tussing
Windows XP, XProfan 10
02/26/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.943 Views

Untitledvor 0 min.
R.Schneider06/26/23
Walter02/08/18
Peter Max Müller11/18/17
bastler12/16/13
More...

Themeninformationen



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