Seite 1 von 1

How can I changed values when I send string on RS232?

Verfasst: Freitag 31. Dezember 2010, 19:31
von Maxiq4
happy new year.

I want to send some string on rs232
like: ## freq:350//##duty:45$$

I can send it no problem,
But I wanna changed ONLY values when sending.
other charaters always same

example:
## freq:2345//##duty:67$$
## freq:1000//##duty:05$$
## freq:15//##duty:20$$

thank you

Re: How can I changed values when I send string on RS232?

Verfasst: Freitag 31. Dezember 2010, 21:53
von KAKTUS
Hi Maxiq4 ( from where did you come from?)

Don't use "Numeric Input" for strings.

Try this... Check settings in "$CS1"

Re: How can I changed values when I send string on RS232?

Verfasst: Sonntag 2. Januar 2011, 10:34
von Maxiq4
thanks again your interesting kaktus

how can I use slider or like volume potantiometer for input "changing string values, freq and dutys" ?
is it possible ?

Im from istanbul :)

Re: How can I changed values when I send string on RS232?

Verfasst: Sonntag 2. Januar 2011, 16:45
von KAKTUS
This question is to easy, do it yourself. (Replace the $Edt)

Whats about my example, is it working, did you test it with real Hardware?

Re: How can I changed values when I send string on RS232?

Verfasst: Sonntag 2. Januar 2011, 18:57
von Maxiq4
KAKTUS hat geschrieben:This question is to easy, do it yourself. (Replace the $Edt)

Whats about my example, is it working, did you test it with real Hardware?
KAKTUS;
Im test it on the proteus not real, its working like.

its work but I need some addition,
when the first run, it must send one time last setting to rs232 (for exampe freq:150 duty:23)

Re: How can I changed values when I send string on RS232?

Verfasst: Sonntag 2. Januar 2011, 20:20
von KAKTUS
take PON ( Makes Reset at Power on) and connect it with COm String transmit. Put the needed String to the Input.s