Oh, and in the case of Nodejs, you could use g_ether, and stream the data
via socket.io, and have the client side Javascript do all the heavy
lifting. It is a rather cool "thing" to do. I am just not sure this is the
best way to go about things.

On Fri, Nov 21, 2014 at 2:11 PM, William Hermans <[email protected]> wrote:

> Heya Curt,
>
> This is definitely a topic that should give many pause for thought. The
> reason is there are many ways to go about doing this.
>
>
>    - .NET ( C#, VB.NET, etc ) has a class library for COM communication.
>    - Java Also has a class object model for this I believe.
>    - Python, Perl . . . the list is fairly large.
>
> Surely this could be done using C/C++, or even ASM if these are your
> preferred languages of choice. Even Javascript using Nodejs, and multiple
> ways in Nodejs to achieve this.
>
> So, I think it boils down to what is more convent for you. Just start
> googling <language> + COM communication, and see which way / method appeals
> to you. Just keep in mind that if you want your application to be cross
> platform, some languages are better suited for this task than others.
>
>
>
> On Fri, Nov 21, 2014 at 12:48 PM, Robert Nelson <[email protected]>
> wrote:
>
>> On Fri, Nov 21, 2014 at 1:42 PM, Curt Carpenter <[email protected]>
>> wrote:
>> > I have my BBW tethered to my PC via USB.  I will use the BBW to acquire
>> a
>> > stream of data which will be passed to my PC for display and storage.
>>  Is
>> > there a "best practice" way to handle this?
>> >
>> > I note that connecting the BBW via USB creates two (I think) USB-serial
>> > ports on my PC, enumerated as USB Serial Converter A and USB Serial
>> > Converter B.  One of these ports supports the Serial Gadget link to the
>> BBW
>> > via Com8 on my PC, and is used by my Eclipse cross-compiler and remote
>> > terminal applications.  The other appears as (I think) Com9 on my PC.
>>  If
>> > that's correct, can anyone point me to some information on sending data
>> via
>> > that Com9 port?
>>
>> See:
>>
>> http://elinux.org/BeagleBone_Community#BeagleBone_.28original.29
>>
>> "The mini-USB type-A OTG/device client-mode socket is
>> multi-functional. In addition to providing an alternative source of
>> power, it gives access to an on-board front-end two-port USB
>> client-side hub. (This is not related to the separate host-mode USB
>> socket described later). One port of the hub goes directly to the USB0
>> port of the TI AM3358/9 SoC, while the other port connects to a
>> dual-port FTDI FT2232H USB-to-serial converter to provide
>> board-to-external-host serial communications and/or JTAG debugging.
>> The BeagleBone's Linux serial console is available through this USB
>> serial connection."
>>
>> The "second" com port you see is actually the jtag port.
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> http://www.rcn-ee.com/
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to