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 [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/