Seite 1 von 1

UhrZeit ->rs232 Problemme (example project)

Verfasst: Donnerstag 12. August 2010, 21:42
von Uncle
Ich bekomme als
0:17:55
0:17:56
0:18:26
0:18:27
0:19:41
0:19:42
0:19:43
0:19:44

nicht jeder secund, und nur wann Ich CR eingabe. Ich benutze PC mit 2 com ports und Windows HyperTerminal, aber es geht dieselbe mit anderer Terminal Programm auch.

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Freitag 13. August 2010, 02:05
von KAKTUS
Aha

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Freitag 13. August 2010, 05:22
von Uncle
Was soll Ich machen, um jeder Sekunde string zu senden?
Es geht um example project aus 4.0 Version.

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Freitag 13. August 2010, 09:02
von funkybaer
Wir überlegen, denken, und wissen nicht was es soll.

Bitte genauer definieren oder besser Projekt reinladen

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Freitag 13. August 2010, 14:37
von KAKTUS
Wenn Du dir keine Mühe gibst dein Problem zu beschreiben, warum sollten wir uns die Mühe machen dir alle wichtigen Infos aus der Nase zu ziehen?
Es gibt viele Beispiel Projekte aus PL 4.

Fang nochmal ganz vorne an:
z.B.
Hallo Forum,

habe ein Problem mit String senden..............

Sollte deutsch nicht deine Muttersprache sein, gerne auch in englisch.

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Freitag 13. August 2010, 22:30
von Uncle
OK Take two.
I use example from PL4 (File/Examples/Hardware/RS232/Time_to_RS232.prj
Instead of regular strings like h:mm:ss every second I got in MS Hyper Terminal only 3-5 strings, and silense.
But I've found the reason - rs232 cable was bad, sometimes it works, sometime not.
Sorry to trouble you.

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Montag 16. August 2010, 21:25
von Uncle
Morning. Take 3.
One more question about simple example in PL4 - File/Examples/Hardware/RS232/Nullmodem .
It works when I use com2 in CVS1 module and com1 in CRV2 module, but the example didn't work when I use CVS1 and CRV2 modules of the same ( com 1 or com2) port - led "Busy" is always "ON", no data transmitted. The ports work fine, I test it by hex terminal program. May be it is not correct to use this modules with the same port? I use null modem cable in the first case, and just connect pins 2 and 3 of both com ports respectively in the second. The connections were good - I made h-terminal tests. Can I use receive and transmite of the same port, and if I can, why can't the example project work?

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Donnerstag 19. August 2010, 11:40
von KAKTUS
1st - your separation sign is different. 13 10 / 10
2nd - your Clock is different
3rd - wenn you youse the same port, you have to connect pin 2 and 3 at only one com port.

Its better to use some tools. Please search for

com0com, or better and easier
VSPE http://www.eterlogic.com/Products.VSPE.html or
virtuall null modem http://www.virtual-null-modem.com/screenshots.htm

then you can work with my example download/file.php?id=354

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Freitag 20. August 2010, 11:52
von Uncle
Thank You , Kaktus.
I have some problems with Your example - I can download it, but with no means I can't read it.

p.s I found the reason - I was so lucky to begin my work with programm on computer with bad com ports....
Compiled files work fine on another computer.

About timing and other string terminators - it was (I think) made by the example author - it is enough for receiver to have as string terminator any fraction of string terminator of the sender, and receive iniatializing friequency is twice of the sender friequensy, it works in the example.

Re: UhrZeit ->rs232 Problemme (example project)

Verfasst: Freitag 20. August 2010, 21:34
von KAKTUS
please check for update for your profilab

Menue bar, ? sign, internet update !