ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: communication by USB, RS232,...

To:
Subject: Re: [ts-7000] Re: communication by USB, RS232,...
From: "Don W. Carr" <>
Date: Fri, 23 Jun 2006 08:27:21 -0500
Ok, to communicate by TCP/IP, I am attaching two programs, myservice.cpp and myconnect.cpp. You need to run the service first on one machine, then you can run as many clients as you want on other machines. It forks a child to handle every client. Let me know if the attachments don't work and I will send directly.

I sent a program to the list recently for opening a serial port and setting the baud rate, timeout, let me know if you can't find it and I will send it direct.

I do not have anything for USB, but you can not hook two masters together. You could use two USB-serial adaptors and NULL modem cable to communicate by USB. Well, maybe somebody else knows more about what you could do with USB.

I have not programmed the other bus, but, there is an example online to read the on-board temperature sensor which is on that bus I believe.

Hope this helps, Don.

On 6/23/06, suptouch <> wrote:

Perhaps, if I understand, you seek how to work with com port.

The drivers under linux drive with files in the /dev. It's the
interface with the user. The drivers with this port are character
devices or bloc devices, you can work with the standard open, read and
write fucntion (use man to have help).

You can fidn a good books to program from example to start ...



--- In ts-7000%40yahoogroups.com, "nicolastiss" <> wrote:
>
> hello,
>
> firstly, sorry for my english
>
> I'm in a training period, and I'm working on the TS-7300. and I'm a
> newb in this...
>
> I m must write programs which can allow to the TS7300 to comunicate
> with other card by USB, I²C, RS232, TCP/IP...
> the problem is that I don't know where I can find informations to
> write this programs.
> I m programming on linux with gcc.
> there are fonctions pre-existing which permit to open the USB port,
> send informations by this port...?
>
> thanks
>
> Nico
>




--
Dr. Don W. Carr
J. G. Montenegro 2258
Guadalajara, Mexico
+52-333-630-0704
+52-333-836-4500 ext 2930 __._,_.___


SPONSORED LINKS
Linux os Hardware Arms
Computer internet Computer security Computer hardware security


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



__,_._,___

Attachment: myconnect.cpp
Description: Text Data

Attachment: myservice.cpp
Description: Text Data

Attachment: makefile
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU