Re: vb6 -v- Net!



On Mar 26, 4:01 pm, "Robert Morley"
<rmor...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Most VB.NET apps provide very slow performance. A case in point involving
someone on the NG lately who was monitoring input from some kind of USB
electrocardiogram monitor that in VB6 he was monitoring up to 300 bpm. In
VB.NET, with a LOT of tweaking, he managed to get it to 15 bpm. In other
words, if you're almost dead, this app might be of use; otherwise, it's
pretty useless in VB.NET.

Likely it is a crap Microsoft/Third Party implementation of accessing
the USB hardware. I deal with embedded control and motion control
through Classic VB and it was pretty crappy at first both for
Microsoft and Third Party Vendors. Mostly it had to do with writing
COM code that worked fast.

Now .NET is a whole new game and all that knowledge isn't really
applicable. Worse many .NET controls that vendors put in the first few
years are wrappers around COM control so now you going through two
layers instead of one.

My recommendation is use .NET Reflector and find out what the
libraries are doing. Then building a new implementation that ditches
the part that slows down direct access.

This may require using C++ to bridge between direct hardware access
and .NET. As C++ libraries has access to most of the nice embedded
libraries that allow quick access to hardware under XP.

If you use .NET reflector you will find a lot of the framework are
wrappers around different parts of the Win32 API. Y


.



Relevant Pages

  • Re: USB initialization
    ... > Any class or libraries can be used for USB connection and initialization in ... If you want to control a USB port directly, ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
    (comp.lang.cpp)
  • Usb help
    ... I need to send and receive information through a USB port, ... control certain machine on the other side. ... The data goes through a USB ... seen to find any functions or libraries that might get the job done. ...
    (microsoft.public.vb.general.discussion)
  • USB help
    ... I need to send information through a USB port, so I can control certain ... to find any functions or libraries that might get the job done. ...
    (comp.lang.cpp)
  • if the creative suits can bow necessarily, the proposed asset may enquire more venues
    ... Two of the senior cyberneticians organized a filtration system. ... It would have given Allende maximum control over the nations ... industrial infrastructure, real-time monitoring of everything. ... research and propounded by many nuclear strategists, that war was not ...
    (sci.crypt)
  • tell Roger its ill formulating aged a waiting
    ... Cybernetic control of society. ... The 'arousal filter' Stafford Beer and his cyberneticians ... Mr. Beer was trying to help the economy by massive real-time monitoring ... Two of the senior cyberneticians organized a filtration system. ...
    (sci.crypt)

Loading