Im new to .net. I would like to upgrade an existing application to .net and
add USB support.
How do i write a .net application with USB support?
We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver
in .net for USB ports? any tutorial page out there?
Thanks in advance,
Aaron 10 4297
"Aaron" <ku*****@yahoo.com> schrieb: Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver in .net for USB ports? any tutorial page out there?
USB is a /bus/, not a port. Typically communication with a special device
is done over DLLs/drivers provided by the connected device's manufacturer.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
so how can i read data from the usb port, since i am the device
manufacturer.
for serial ports i just need to load the mscomm.dll and start reading.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uI**************@TK2MSFTNGP14.phx.gbl... "Aaron" <ku*****@yahoo.com> schrieb: Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver in .net for USB ports? any tutorial page out there?
USB is a /bus/, not a port. Typically communication with a special device is done over DLLs/drivers provided by the connected device's manufacturer.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
If anyone can offer any info, links etc please do, I am also interested in
this thread
Regsrds
"Aaron" <ku*****@yahoo.com> wrote in message
news:uH**************@tk2msftngp13.phx.gbl... so how can i read data from the usb port, since i am the device manufacturer. for serial ports i just need to load the mscomm.dll and start reading.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:uI**************@TK2MSFTNGP14.phx.gbl... "Aaron" <ku*****@yahoo.com> schrieb: Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver in .net for USB ports? any tutorial page out there?
USB is a /bus/, not a port. Typically communication with a special device is done over DLLs/drivers provided by the connected device's manufacturer.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
"Aaron" <ku*****@yahoo.com> wrote in
news:uH**************@tk2msftngp13.phx.gbl: so how can i read data from the usb port, since i am the device manufacturer. for serial ports i just need to load the mscomm.dll and start reading.
This may help: http://www.tetradyne.com/dxusb.htm
There might be other products like DriverX USB.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying. http://members.ebay.com/aboutme/coolspot18/
Hi
If you've been using mscomm, then following this link: http://www.hardandsoftware.net/
will get you started - Dick Grier's website / book are a good place to get
the information you need.
HTH
Nigel Armstrong
"Starbuck" wrote: If anyone can offer any info, links etc please do, I am also interested in this thread
Regsrds "Aaron" <ku*****@yahoo.com> wrote in message news:uH**************@tk2msftngp13.phx.gbl... so how can i read data from the usb port, since i am the device manufacturer. for serial ports i just need to load the mscomm.dll and start reading.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:uI**************@TK2MSFTNGP14.phx.gbl... "Aaron" <ku*****@yahoo.com> schrieb: Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver in .net for USB ports? any tutorial page out there?
USB is a /bus/, not a port. Typically communication with a special device is done over DLLs/drivers provided by the connected device's manufacturer.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
If you're saying that you can just treat the device like a serial port, then
there's a number of libraries out there that provide serial support for
..NET: http://www.gotdotnet.com/Community/U...4-dfe325097c69
Here's one that's supposed to be very similar to mscomm: http://www.gotdotnet.com/workspaces/...2-9dcbcf79e1fb
Hope this helps,
Scott Swigart http://blog.swigartconsulting.com
"Aaron" <ku*****@yahoo.com> wrote in message
news:uH**************@tk2msftngp13.phx.gbl... so how can i read data from the usb port, since i am the device manufacturer. for serial ports i just need to load the mscomm.dll and start reading.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:uI**************@TK2MSFTNGP14.phx.gbl... "Aaron" <ku*****@yahoo.com> schrieb: Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver in .net for USB ports? any tutorial page out there?
USB is a /bus/, not a port. Typically communication with a special device is done over DLLs/drivers provided by the connected device's manufacturer.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
but how do you treat the usb port like a serial port?
im very suprised by the amount of documentation available on this topic. i
thought there would be a dedicated class in the .net framework for this
purpose, since most devices use USB nowadays.
"Scott Swigart" <sc***@3leaf.com> wrote in message
news:ep**************@TK2MSFTNGP11.phx.gbl... If you're saying that you can just treat the device like a serial port, then there's a number of libraries out there that provide serial support for .NET:
http://www.gotdotnet.com/Community/U...4-dfe325097c69
Here's one that's supposed to be very similar to mscomm:
http://www.gotdotnet.com/workspaces/...2-9dcbcf79e1fb
Hope this helps, Scott Swigart http://blog.swigartconsulting.com
"Aaron" <ku*****@yahoo.com> wrote in message news:uH**************@tk2msftngp13.phx.gbl... so how can i read data from the usb port, since i am the device manufacturer. for serial ports i just need to load the mscomm.dll and start reading.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:uI**************@TK2MSFTNGP14.phx.gbl... "Aaron" <ku*****@yahoo.com> schrieb: Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver in .net for USB ports? any tutorial page out there?
USB is a /bus/, not a port. Typically communication with a special device is done over DLLs/drivers provided by the connected device's manufacturer.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
"Aaron" <ku*****@yahoo.com> wrote in
news:ON**************@TK2MSFTNGP09.phx.gbl: but how do you treat the usb port like a serial port? im very suprised by the amount of documentation available on this topic. i thought there would be a dedicated class in the .net framework for this purpose, since most devices use USB nowadays.
I think the problem is that writing a USB driver is still a low level
function - .NET 1.0 doesn't expose enough low level functions to allow you
to write a USB driver effective. As a result, you need to write the USB
driver in a language like C++ and then expose the device via an API to
..NET. In short, I don't think you can access USB hardware directly without
an interface or a specialized component like DriverX for USB.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying. http://members.ebay.com/aboutme/coolspot18/
Hi,
You can use any serial port methods. You can download NETComm.ocx from my
homepage, for example. There are a number of .NET serial port classes
available for download, and I have one in my book, with lots of examples,
naturally. Also, there is a .NET serial dll in the Visual Basic Developer's
kit, which is available from Microsoft (free download).
Dick
--
Richard Grier (Microsoft Visual Basic MVP)
See www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See www.mabry.com/vbpgser4 to order.
Hi Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports. Is there a similar driver in .net for USB ports? any tutorial page out there?
There is a low level USB library for .NET: http://www.icsharpcode.net/OpenSource/SharpUSBLib
Regards
Mike This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Alexander N. Spitzer |
last post by:
If I have a machine with 3 virtual IP addresses (192.168.1.), how
can I start 3 instances of the same RMI application (each started with
different properties/configs), each listening on the port...
|
by: per.bergstrom |
last post by:
To whom it may concern,
The serial port server 'cnhd38' has been terminated (on who's
initiative, I don't know).
It affects the users of the (at least) following nodes:
cnhd36, cnhd44, cnhd45,...
|
by: willie |
last post by:
Hi,
I'm writing a program which requires the use of three serial ports and
one parallel port. My application has a scanning devices on each port,
which I can access fine with pyserial. ...
|
by: Jason |
last post by:
After a server accepts a client connection on a certain port, a new socket is
created on the server on a system managed dynamic port to handle the
connection. Please confirm this.
If so, how...
|
by: kai |
last post by:
Hi,
I was tring to run an example (HelloWorld.aspx) from MSPrss book, I get
this message:
"ASP.NET Development Server faild to start listening port 1034.
Error message:
An attempt was made...
|
by: Sharon |
last post by:
Hi all,
I've implemented a TCP server using the Socket async methods.
When connecting to the server from 3 instances of hyper terminal,
i've noticed that each of the newly created server sockets,...
|
by: H J van Rooyen |
last post by:
Hi All,
I am writing a polling controller for an RS-485 line that has
several addressable devices connected.
It is a small access control system.
All is well- the code runs for anything from...
|
by: bmearns |
last post by:
Is it possible to specify which port to use as the outbound port on a
connection? I have the IP address and port number for the computer I'm
trying to connect to (not listening for), but it's...
|
by: Rob |
last post by:
Hi all,
I am fairly new to python, but not programming and embedded. I am
having an issue which I believe is related to the hardware, triggered
by the software read I am doing in pySerial. I...
|
by: Maciej Sondej |
last post by:
Hi,
I have problem. I want to react on event which come from IO.Port(RS232). I
have a class that works on console application
class Program
{
static void Main(string args)
{
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |