Is it possible to printout floats or
doubles with rtl_printf and if it is,
how do i do it?
I've tried the examples below but they
dont work.
rtl_printf(" float fl = %f", fl);
rtl_printf(" double db = %e", db);
I'm sorry if this is an old question but
I've searced the archive for help on
this a
answering machine
> > FAX:(410) 993 - 8084On-site
> > (410) 969 - 8068Afternoons; call first to arrange
> > E-Mail: Mornings: [EMAIL PROTECTED]
> > Afternoons: [EMAIL PROTECTED]
> >
> > > -Original Message-
> > >
oons; call first to arrange
> E-Mail: Mornings: [EMAIL PROTECTED]
> Afternoons: [EMAIL PROTECTED]
>
> > -Original Message-
> > From: joseph canou [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 07, 2001 7:54 AM
> > To: [EMAIL PROT
EMAIL PROTECTED]
Afternoons: [EMAIL PROTECTED]
> -Original Message-
> From: joseph canou [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 07, 2001 7:54 AM
> To: [EMAIL PROTECTED]
> Subject: [rtl] rtl_printf an floating point
>
> hello
> i am using floating
hello
i am using floating point in rt module and i would like to see some
results (for debugging) by using rtl_printf
but if i write rtl_printf("%f", var) with var declared as double i just
see %f in /var/log/messages
how can i do to see this var value?
i use rtl3.0 pre9
thank you for your he
Hi,
I have an RT-Linux (2.2.14-rtl2.2) program that is doing quite a few
rtl_printf()s (for tracing), that (after a moment) panic'd the
kernel (consistently). Disabling a subset of these print statements
seemed to make the problem go away. Is this a known problem, or
should
Dingrong Yi wrote:
> Hello,
>
> Maybe my question is stupid, wish you could forgive me as a beginner.
>
> Where could I find the output of rtl_printf(" running time %d\n", runtme)?
>
> If one can see the value of some variables during a code executing, it is
> helpful for understanding how the c
Dingrong Yi wrote:
>
> Hello,
>
> Maybe my question is stupid, wish you could forgive me as a beginner.
>
> Where could I find the output of rtl_printf(" running time %d\n", runtme)?
>
> If one can see the value of some variables during a code executing, it is
> helpful for understanding how
> Where could I find the output of rtl_printf(" running time %d\n", runtme)?
You can use
# dmesg
to get the messages from the kernel ringbuffer or you can do a
# tail -f /var/log/messages
to see the messages directly. The last I prefer - to see the timing depencies.
> If one can see the
Hello,
Maybe my question is stupid, wish you could forgive me as a beginner.
Where could I find the output of rtl_printf(" running time %d\n", runtme)?
If one can see the value of some variables during a code executing, it is
helpful for understanding how the code behavies.
Thanks.
Dingron
On Tue, Jun 20, 2000 at 11:13:58PM +0200, Mario Teijeiro Otero wrote:
> I have a long pthread periodic of 10ms, ?is it posible that,
> when I debugging with rtl_printf, the period of this is large
> that 10ms and freeze the kernel?
Yes. Try setting RTL_DEFINE_SLOW_CONSOLE in include/rtl_config.h
I have a long pthread periodic of 10ms, ¿is it posible that,
when I debugging with rtl_printf, the period of this is large
that 10ms and freeze the kernel?
--
El código fuente, como el estiércol, si lo diseminas ayuda al crecimiento si
lo acaparas solamente apesta.(Zachary Kessing SLASHDOT)
> What's the details of the crash? Is it repeatable?
At this moment I couldn't reproduce it.
Maybe it was a false alarm.
Regards
Gabor
>
> On Tue, May 23, 2000 at 09:29:50AM +0200, [EMAIL PROTECTED] wrote:
> > I found, that too many rtl_printf() within a short period
> > can crash the kernel
What's the details of the crash? Is it repeatable?
On Tue, May 23, 2000 at 09:29:50AM +0200, [EMAIL PROTECTED] wrote:
> I found, that too many rtl_printf() within a short period
> can crash the kernel.
> Why?
> Is there any automatic mechanism to prevent this?
>
> I have a 19200 bps serial conso
I found, that too many rtl_printf() within a short period
can crash the kernel.
Why?
Is there any automatic mechanism to prevent this?
I have a 19200 bps serial console on a 100MHz 486 machine.
RTL version is 2.2.
CONFIG_RTL_SLOW_CONSOLE=y
Gabor
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl
cd to the top of the Linux source code directory
grep -r 'sscanf*{' * | more
'man grep' is your friend.
- Kal.
"Herbel, Rick" wrote:
>
> Sorry if this is a repeat but does any one remember the library to link in
> to use sscanf in a realtime app -l?
>
> Thaanks,
>
> Rick
> -- [rtl] ---
> To
> (I know this topic was treated before, but mailing list archive doesn't
> work in www.rtlinux.org and I can't find documentation about it).
List archive is at http://www.realtimelinux.org/archives/rtl/
Regards
Gabor
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROT
Hi,
To see your rtl_printf() output, you can use dmesg and/or tail
/var/log/messages (depending on how you configured
syslogd). I'm personnaly not able to do this in rtl v2.0 but with v2.2,
that's working.
Regards,
Stephane
A 10:28 00-03-10 +0100, vous avez écrit :
> Hello, I want to re
Hello, I want to reports errors produced in the real time task and I
think rtl_printf is the way to do it, isn't it?. In that case, where
does rtl_printf output go to in RTLinux 2.2?.
(I know this topic was treated before, but mailing list archive doesn't
work in www.rtlinux.org an
Hi, Stephane,
> I send to you the screenshoot of the dmesg and tail /var/log/messages in
> the file Test in attachment. This is before and after running the hello
> example from /rtl/examples/hello. All look to be the normal boot sequence.
>
> Note: I have add the mbuff on the insrtl and rmrtl f
;
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 31, 2000 8:35 PM
> To: [EMAIL PROTECTED]
> Subject: [rtl] rtl_printf problem
>
>
> Hi,
>
> I have install rt-linux on a second machine and I have a problem with th
Hi all !
I have a problem understanding what rtl_printf is actualy doing
I call rtl_printf at init_module and at cleanup , wich works fine
but if I cal it within a thread then the last strings droped to
rtl_printf are buffered somwhere , and if I do
my terminal
22 matches
Mail list logo