ts-7000
[Top] [All Lists]

Re: [ts-7000] TS 7260 & C#

To:
Subject: Re: [ts-7000] TS 7260 & C#
From: Joe Bouchard <>
Date: Mon, 21 Aug 2006 07:25:35 -0400
On Sun, Aug 20, 2006 at 08:35:22PM -0800, Dan Morphis wrote:
> On 8/20/06, Kulendra Janaka <> wrote:
> >
> >OK first of all, I didnt know that you can run C# on TS7260 (I thought all
> >the compilers were for windows, but then again I'm a novice in programming
> >:) )
> >
> >Just check the http://www.codeproject.com/csharp/SerialCommunication.asp,
> >it has some examples in using serial ports in C# .net and once u get the
> >serial ports running, u have to connect the serial port through a null 
> >modem
> >cable to 'another' machine. Then use the hyperteminal or minicom on teh
> >second machine.
> >
> >Hope this was helpful.
> >And please send me the details on how u compiled C# on the linux, im
> >pretty interested.
> >
> 
> 
> Kulendra,  you can use mono to compile VB.NET and C# code on Linux, Mac OS
> X, and Windows.  I've personally used it on Linux, but the serial port
> support in mono the last time I looked (about 4-5 months ago) was pretty
> non-existant.

There is a package called "ser2net" which may be useful in a situation like
this. It establishes a daemon which maps TCP sockets to serial ports.  You
create a ser2net.conf file with whatever you want, example: tcp port 3000 maps
to /dev/ttyAM0:9600,8,1,none.  Hint: Go into /etc/inittab and turn off the getty
on this com port, or you will trigger that unexpectedly.

At this point you can use the language/library of your choice and talk over
standard TCP/IP sockets, which may be easier.

Good luck,
Joe


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<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