Hello -
I need to integrate data collection by reading from the USB port. There is no library functions for this device and currently can be read by Hyperterminal.
Thanks!
Hello -
I need to integrate data collection by reading from the USB port. There is no library functions for this device and currently can be read by Hyperterminal.
Thanks!
>> and currently can be read by Hyperterminal
Does this device show up as a COM port? What is the device?
gg
Yes - It shows up as COM 3 in Hyperterminal. Is a parallax device
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
Do you just want to read data from the serial port?
gg
I want to read data from USB and its showing up as COM3 in Hyperterminal. Is that the same as reading data from the the serial port?
If your device turns up as Com3, then you should be able to use it as a seriall port (COM3) - if not, then there's something else that is wrong.
Note that the fact that the device sits on USB has very little to do with how you read it at application level. You'd never say "How do I read from a PCI device" when you are using a built-in serial port, even tho' that is actually a PCI device, right?
[You can of course, given the right set of software, read data directly from the USB device itself - but it wouldn't make much sense to do that].
So, you need to find a "Serial port" comms package that you can use [or write one yourself, but if you want to make your life easy, find one that has already been tested and works, as there are many aspects of serial comms that can be quite tricky].
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.