[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Wed, 11 Jul 2001 22:39:06 +0200 (CEST)
>From owner-rtl Wed Jul 11 08:43:33 2001
Received: from nwcst322.netaddress.usa.net (nwcst322.netaddress.usa.net [204.68.23.67])
by localhost.localdomain (8.11.2/8.11.2) with SMTP id f6BEhXf12363
for <rtl@fsmlabs.com>; Wed, 11 Jul 2001 08:43:33 -0600
Received: (qmail 27742 invoked by uid 60001); 11 Jul 2001 14:42:09 -0000
Message-ID: <20010711144209.27741.qmail@nwcst322.netaddress.usa.net>
Received: from 204.68.23.67 by nwcst322 for [202.54.28.207] via web-mailer(34FM.0700.18.03B) on Wed Jul 11 14:42:09 GMT 2001
Date: 11 Jul 2001 08:42:09 MDT
From: Trilok R <trilok_rtl@usa.net>
To: rtl@fsmlabs.com
Subject: rt_com. [ rt_com_write() ]
X-Mailer: USANET web-mailer (34FM.0700.18.03B)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by localhost.localdomain id f6BEhXf12364
Hi,
All..I am writing small application which talks with Siemens PLC ( AS511
Protocol)...My questions are:
1) How can I check out that 'rt_com_write()' has successfully written no. of
characters to port?...As Man page says 'int' as return value...which means no.
bytes read...But actually in source code of rt_com.o it's return type is
'void'.[ I am using RTLinuxV3.0 ]
So How can I ensure that 'rt_com_write()' successfully executed?
[ I don't want to use 'rt_com_read()' ok...]
2) How can I implement 'timers' using 'rtlinuxV3.0'...which fires at say every
500ms. and also able to kill it when not used...?
Trilok Soni..
Trilok Rajnikant Soni.
System Programmer,
Tectona Soft Solutions(P) Ltd.
Ahmedabad,
Tel. No. +91-79-6852006,+91-79-6844192
Fax. No. +91-79-6852006
----- End of forwarded message from owner-rtl@fsmlabs.com -----