I have a GPS from u-blox.com with a USB connection and a driver. The driver installs the virtual COM port that appears when a USB connection is made. Using the hyperterminal, I can monitor the flow of data from the GPS.
Then I need data in my program, not so simple ...
I implemented some methods using the serialPort class for reading from GPS, but was unsuccessful. I programmed several readers and writers of serial devices before in C #, but that stops me.
As an example, simple code in simpleSerial will not give you anything unless you unplug the USB port and replace it.
I tried reading it with Matlab, which works great, but since the rest of my program, which needs GPS data, is in C #, this does not completely fix the problem.
Are there some high level C # things in the serialPort class that I can work around? Or are there any known issues with reading USB serial ports that I believe works like my GPS?
source share