Re: XCOMMS XC_GET XC_FLUSH



<m_holti@xxxxxxx> wrote 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

.



Relevant Pages

  • Re: How to Create a TCP/IP PrinterPort on a MS Cluster 2k3 via Scr
    ... thus the creation of the port on the node. ... Download the Windows Server 2003 resource kit and add prnadmin.dll to the ... Do you actually think I would post these scripts if it didnt work? ... In your response include the commands you used. ...
    (microsoft.public.windows.server.clustering)
  • Re: GPRS dial up in Windows CE
    ... Use an application such as hyperterminal to send AT commands to your GSM ... the COM port that connects to your GSM. ... APN is depending on your sim: ... Uncheck Force long distance ...
    (microsoft.public.windowsce.platbuilder)
  • Re: telnet on port 25
    ... I think you can send some commands to send messages through the smtp server. ... > using port 25. ... I have never connected on port 25 using telnet ... > contact the sender using an alternative means of communication. ...
    (AIX-L)
  • Re: WIP: ATA to CAM integration
    ... HBA and a device through the Port Multiplier. ... "Since queued commands result in two different operations (command issue, ... to the command list that target a single port behind the Port Multiplier, ...
    (freebsd-current)
  • Re: WIP: ATA to CAM integration
    ... HBA and a device through the Port Multiplier. ... "Since queued commands result in two different operations (command issue, ... to the command list that target a single port behind the Port Multiplier, ...
    (freebsd-arch)