UhrZeit ->rs232 Problemme (example project)

Antworten
Uncle
Beiträge: 32
Registriert: Donnerstag 12. August 2010, 21:32

UhrZeit ->rs232 Problemme (example project)

Beitrag von Uncle » Donnerstag 12. August 2010, 21:42

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.

KAKTUS
Beiträge: 651
Registriert: Samstag 18. Oktober 2008, 21:12

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von KAKTUS » Freitag 13. August 2010, 02:05

Aha
stachlige Grüße, Kaktus

Uncle
Beiträge: 32
Registriert: Donnerstag 12. August 2010, 21:32

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von Uncle » Freitag 13. August 2010, 05:22

Was soll Ich machen, um jeder Sekunde string zu senden?
Es geht um example project aus 4.0 Version.

funkybaer
Beiträge: 440
Registriert: Mittwoch 22. Oktober 2008, 08:51
Wohnort: Kitzingen

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von funkybaer » Freitag 13. August 2010, 09:02

Wir überlegen, denken, und wissen nicht was es soll.

Bitte genauer definieren oder besser Projekt reinladen

KAKTUS
Beiträge: 651
Registriert: Samstag 18. Oktober 2008, 21:12

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von KAKTUS » Freitag 13. August 2010, 14:37

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.
stachlige Grüße, Kaktus

Uncle
Beiträge: 32
Registriert: Donnerstag 12. August 2010, 21:32

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von Uncle » Freitag 13. August 2010, 22:30

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.

Uncle
Beiträge: 32
Registriert: Donnerstag 12. August 2010, 21:32

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von Uncle » Montag 16. August 2010, 21:25

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?
Dateianhänge
NullmodemCom2Com2.prj
(3.2 KiB) 379-mal heruntergeladen

KAKTUS
Beiträge: 651
Registriert: Samstag 18. Oktober 2008, 21:12

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von KAKTUS » Donnerstag 19. August 2010, 11:40

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
stachlige Grüße, Kaktus

Uncle
Beiträge: 32
Registriert: Donnerstag 12. August 2010, 21:32

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von Uncle » Freitag 20. August 2010, 11:52

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.
Zuletzt geändert von Uncle am Freitag 20. August 2010, 21:38, insgesamt 1-mal geändert.

KAKTUS
Beiträge: 651
Registriert: Samstag 18. Oktober 2008, 21:12

Re: UhrZeit ->rs232 Problemme (example project)

Beitrag von KAKTUS » Freitag 20. August 2010, 21:34

please check for update for your profilab

Menue bar, ? sign, internet update !
stachlige Grüße, Kaktus

Antworten

Zurück zu „Thema RS232“