<m_*****@msn.comwrote in message
>
I am trying to rewrite some software where a scale is addressed
through the RS232 port and using commands like xc_get, xc_flush and
so on.
I belive that these commands was developed by a company called Xcomms.
I do not have a manual for the commands and would really appriciate some
expanation for the command xc_get or an address where to find more
info.
We are currently having a topicality discussion on this ng. Yopur post
illustrates the problem.
ANSI C defines no way to access any hardware except the standard IO
functions. However C will ususally, along with assembler, be the language of
choice for low-level communication with devices such as an RS232 port.
There are millions of C-callable functions released by various companies,
and unless xc_get() is an especially common protocol then it is unlikely
that anyone here will have used it. I've certainly never heard of it,
although the function obviously reads bytes of data from the port, and if
you posted the code I could probably tell you what it does.
However should we go down that route? I don't think there really is another
group that exactly matches your requirements or I'd redirect you to it.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm