Logging many values on rs-232 ?
Verfasst: Montag 13. Oktober 2008, 11:18
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 19.04.2007 10:38 Titel: Logging many values on rs-232 ?
--------------------------------------------------------------------------------
Hello abacom ,
I can send on the rs-232 data from my circuit .
it has text and value ,
for example :
hrsout "Values: ","E:>",Dec abc," ","D:>",DEC2 dtycyc," ","A:>",dec1 ham11," ","T:>",DEC HAM22,13 ,10
"values: " or "E:>" are text .
abc or ham11 or ham22 are values .
You can see on the hyper terminal like this :
Values:E:>474 D:>03 A:>10.8 T:>99
How can I read this with profilab ?
I want to many digital display or gauges same time on the pc display ..
regards
Note :I can logging or see one (1) value ,
I dont know ,how can I see many value same time ?
Nach oben
Mike D
Anmeldungsdatum: 03.07.2006
Beiträge: 236
Verfasst am: 19.04.2007 12:26 Titel:
--------------------------------------------------------------------------------
Hello,
receive it with COM STRING RECEIVE and put the string into $Part, were you put ">" as char and outputs to 5. Then you connect outputs 2 to 5 to $val and get 4 analog values.
Mike
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 19.04.2007 13:49 Titel:
--------------------------------------------------------------------------------
Mike D hat Folgendes geschrieben:
Hello,
receive it with COM STRING RECEIVE and put the string into $Part, were you put ">" as char and outputs to 5. Then you connect outputs 2 to 5 to $val and get 4 analog values.
Mike
Mike ,
sorry I cant understard verywell ..
so ,
I know "COM STRING RECEIVE"
when I input "pin information"
Connection "$"
Comment "string"
Sorry mate ...
Could you explain me ? or have you a simple example ?
maxiq4@yahoo.com
Nach oben
abacom
Site Admin
Anmeldungsdatum: 30.06.2006
Beiträge: 898
Verfasst am: 19.04.2007 14:10 Titel:
--------------------------------------------------------------------------------
Try to get started with the GPS-DEMO.PRJ from your installation.
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 13.06.2007 06:58 Titel:
--------------------------------------------------------------------------------
hello again ,
and sorry , I want to ask a question again .
Im receive data good now ,
Mike D great help me about ,thank you mike again .
But ,
when on the progress ,when the software running ,
CPU usage HUGE !! on the pc ,aprox %98 ..
Im trying it my notebook ,it has intel core due 2 cpu (2x 1.6mhz )
when I choose lower sampling rate from rs232,
for example per 2 second , no any change cpu usage ?
Have any solution ?
why the software use cpu very very high ?
its maybe crash ,,, if I running on old and slow PC .
regards
Nach oben
abacom
Site Admin
Anmeldungsdatum: 30.06.2006
Beiträge: 898
Verfasst am: 13.06.2007 08:52 Titel:
--------------------------------------------------------------------------------
Try to set simulation frequency to "SLOW" (in topleft corner of the IDE, left from the FREQ-DISPLAY)
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 13.06.2007 12:31 Titel:
--------------------------------------------------------------------------------
when the simulation ,yes
but,
I mean after the compile .
finished "exe" file need strong cpu also.
regards
Nach oben
abacom
Site Admin
Anmeldungsdatum: 30.06.2006
Beiträge: 898
Verfasst am: 13.06.2007 18:26 Titel:
--------------------------------------------------------------------------------
Compilation is done with the fast/slow mode settting in the IDE at compilation time.
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 14.06.2007 15:54 Titel:
--------------------------------------------------------------------------------
Dear Abacom ,
Thank your support ..
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 19.04.2007 10:38 Titel: Logging many values on rs-232 ?
--------------------------------------------------------------------------------
Hello abacom ,
I can send on the rs-232 data from my circuit .
it has text and value ,
for example :
hrsout "Values: ","E:>",Dec abc," ","D:>",DEC2 dtycyc," ","A:>",dec1 ham11," ","T:>",DEC HAM22,13 ,10
"values: " or "E:>" are text .
abc or ham11 or ham22 are values .
You can see on the hyper terminal like this :
Values:E:>474 D:>03 A:>10.8 T:>99
How can I read this with profilab ?
I want to many digital display or gauges same time on the pc display ..
regards
Note :I can logging or see one (1) value ,
I dont know ,how can I see many value same time ?
Nach oben
Mike D
Anmeldungsdatum: 03.07.2006
Beiträge: 236
Verfasst am: 19.04.2007 12:26 Titel:
--------------------------------------------------------------------------------
Hello,
receive it with COM STRING RECEIVE and put the string into $Part, were you put ">" as char and outputs to 5. Then you connect outputs 2 to 5 to $val and get 4 analog values.
Mike
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 19.04.2007 13:49 Titel:
--------------------------------------------------------------------------------
Mike D hat Folgendes geschrieben:
Hello,
receive it with COM STRING RECEIVE and put the string into $Part, were you put ">" as char and outputs to 5. Then you connect outputs 2 to 5 to $val and get 4 analog values.
Mike
Mike ,
sorry I cant understard verywell ..
so ,
I know "COM STRING RECEIVE"
when I input "pin information"
Connection "$"
Comment "string"
Sorry mate ...
Could you explain me ? or have you a simple example ?
maxiq4@yahoo.com
Nach oben
abacom
Site Admin
Anmeldungsdatum: 30.06.2006
Beiträge: 898
Verfasst am: 19.04.2007 14:10 Titel:
--------------------------------------------------------------------------------
Try to get started with the GPS-DEMO.PRJ from your installation.
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 13.06.2007 06:58 Titel:
--------------------------------------------------------------------------------
hello again ,
and sorry , I want to ask a question again .
Im receive data good now ,
Mike D great help me about ,thank you mike again .
But ,
when on the progress ,when the software running ,
CPU usage HUGE !! on the pc ,aprox %98 ..
Im trying it my notebook ,it has intel core due 2 cpu (2x 1.6mhz )
when I choose lower sampling rate from rs232,
for example per 2 second , no any change cpu usage ?
Have any solution ?
why the software use cpu very very high ?
its maybe crash ,,, if I running on old and slow PC .
regards
Nach oben
abacom
Site Admin
Anmeldungsdatum: 30.06.2006
Beiträge: 898
Verfasst am: 13.06.2007 08:52 Titel:
--------------------------------------------------------------------------------
Try to set simulation frequency to "SLOW" (in topleft corner of the IDE, left from the FREQ-DISPLAY)
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 13.06.2007 12:31 Titel:
--------------------------------------------------------------------------------
when the simulation ,yes
but,
I mean after the compile .
finished "exe" file need strong cpu also.
regards
Nach oben
abacom
Site Admin
Anmeldungsdatum: 30.06.2006
Beiträge: 898
Verfasst am: 13.06.2007 18:26 Titel:
--------------------------------------------------------------------------------
Compilation is done with the fast/slow mode settting in the IDE at compilation time.
Nach oben
Maxiq4
Anmeldungsdatum: 19.04.2007
Beiträge: 5
Verfasst am: 14.06.2007 15:54 Titel:
--------------------------------------------------------------------------------
Dear Abacom ,
Thank your support ..