|
Thanks for answer my question!But the problem is not what you said,I send "at e0\r",and then I send "at\r",but the message I receive from the SerialPort is "at e0\rat\r",that's very curious!Waiting for you reply!Thanks you very much!
|
|
|
|
|
Hmm. My modem programming is rusty. I think it may be AT&E0 that you need to turn off echo.
Have you got a reference manual for the modem? Failing that, you could try google...
Steve S
Developer for hire
|
|
|
|
|
Hi,
If you have trouble with serial port software in connection with modem,
then I strongly suggest you split the problem in two parts:
- test you cable and modem using an existing app, such as HyperTerminal;
this will also help you in learning modem commands (use on info from Google)
- develop your serial port code without a modem, use a second PC (maybe again
with HyperTerminal; and with a null modem, or null modem cable) or something
else
Only once you got both parts sufficiently solved, try to combine your app
with the modem.
BTW: I advise you to log all serial data (both in and out) in a file using
both hex and ASCII while debugging (and to leave the code in, but switch it off,
once you think it works adequately).
|
|
|
|
|
Hi,
I have to build an application that will run as a windows service. It will recognise when a USB mass storage device has been connected to the windows machine, and instead of the standard windows processing that creates a removable drive, a simple custom windows explorer interface will be displayed. The net effect is the ability to be able to plug in a USB mass storage device and give the user the option to look at the files on the device before windows explorer and the windows o/s creates a removable drive. I have to built a custom file manager that can do cut, copy and paste operation. I have SDK for this. Does anybody have any idea regarding this?
|
|
|
|
|
My idea is that you ask in the appropriate programming forum.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Recently i switched on my pc and a sound was heard with a small spark.
After that my monitor gets power but the cpu doesn't. And all this happened when i have my mca practical exams. Plz help...
|
|
|
|
|
Hiteshforu2007 wrote: a sound was heard with a small spark.
Then something rather vital has died. Either power supply, CPU, motherboard, RAM, video card, any of the drives, ...
Strip the machine down to nothing but a poser supply, motherboard, CPU, RAM and video card. Try to power it up. If you still get nothing, you've got major problems. You'll be swapping these parts out one-by-one, starting with the power supply, until you find the part(s) that is(are) failing.
|
|
|
|
|
Just buy a new system. The way you're asking the question implies you don't have the knowledge to fix it.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi my friends
my english is weak, so i use simple sentences
I emergency need some code of vb.net
i want to find my harddisk serial number
i want to find my mainboard serial number
i want to find my cpu serial number
if u have
please insert them here
or send to me Golab_omidreza@yahoo.com
thanks
|
|
|
|
|
For $10, I'll give you the google URL.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I would like to use the parallel port of my PC to act like a switch to a electronic lock, but I don't know how... can please help me with my problem...
many thanks...
|
|
|
|
|
Try to type parallel port inside the CP article search box, maybe any magical will happen!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Could Any body tell me about Pentium 5. Is it launched in the market. Is it available to purchase
Nitin Jenwal
|
|
|
|
|
There is no Pentium 5. After the Pentium 4, Intel did a complete redesign of their microarchitecture and developed the "Core" series which is what the Core Duo and Core 2 Duo processors are based on. The Pentium line is dead.
-- modified at 11:14 Thursday 5th July, 2007
|
|
|
|
|
It's not a complete redesign. The Core series is derived from the Pentium-M which is an enhanced P3 design.
--
You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
|
|
|
|
|
Hey all,
I have several projects that I want to complete that involve USB devices. I was wondering if there is any generic way to grab the output and input to any USB device.
I'm not looking for anything too clean, just something that works for the moment, as I will spend time adjusting the method to my various projects.
At any rate, is there a generic way to access the output and input of any USB device in windows? (or even just grab the output?)
thanks,
- legit
legit-tech.net
I'm moving this post from the MFC/C++ forum (if an admin wants to remove that other post to prevent duplicate posts that'd be great!)
|
|
|
|
|
legit wrote: I was wondering if there is any generic way to grab the output and input to any USB device.
No, there isn't. USB is not a port, like serial or parallel. It's a BUS, just like the PCI bus you stuff cards into inside the machine. Communicating with any device on the bus requires you to go through the interface supplied by the drivers for that device.
|
|
|
|
|
Oh, Ok, thanks for explaining that, makes since now. Always wondered why USB was so different.
- thanks
|
|
|
|
|
I have a couple of USB boxes which support performing digital and analogue I/O.
They didn't come with drivers (and as I run FILEMON when I install stuff, I can be reasonably sure of that!). However, there is an API library supplied to communicate with the hardware.
Presumably this uses a standard MS-supplied driver to provide user-mode access to allow tx/rx of requests/replies sent to the devices?
Steve S
Developer for hire
|
|
|
|
|
You need the documentation on that SDK, otherwise, it's useless. That SDK is your only method of communication with the devices.
|
|
|
|
|
I appreciate that (and I have, and use, the documentation), but my point is that it must be using some user-level mechanism which does not depend on a manufacturer-specific driver, instead using some generic way of communication. My next obvious step would be to run Depends on the supplied DLL, and see what it loads that I don't recognise.
Steve S
Developer for hire
|
|
|
|
|
Steve S wrote: but my point is that it must be using some user-level mechanism which does not depend on a manufacturer-specific driver,
That's what the device's SDK is for. There are no "generic" communication methods with any USB devices.
Steve S wrote: My next obvious step would be to run Depends on the supplied DLL, and see what it loads that I don't recognise.
Depends can tell you what functions a .DLL exports and will give you the function names, but it can NOT give you the number of parameters and the data types of those parameters. The only thing that can give you that is the docs on the SDK.
|
|
|
|
|
Dave Kreskowiak wrote: Depends can tell you what functions a .DLL exports and will give you the function names, but it can NOT give you the number of parameters and the data types of those parameters. The only thing that can give you that is the docs on the SDK.
Very true, and in this case, since it also gives the names of functions that the DLL imports, it can tell you that it's using SETUPAPI functions, and functions from HID. The latter is what the library appears to be using for communication. However, we're now well off the original poster's track, although I may come back at a much later date with an article on how the supplied DLL does it's USB communication without a specific device driver
Steve S
Developer for hire
|
|
|
|
|
Steve S wrote: although I may come back at a much later date with an article on how the supplied DLL does it's USB communication without a specific device driver
Sure, with the SETUPAPI, a bunch of DeviceIo calls, and the documentation on what the device's commands and responses are. It's generic, but only to a point. Eventually, you have to get into the specifics of the device.
|
|
|
|
|
Is this a windows supplied API? or did it come with the devices?
Also, is there documentation for it?
thanks
|
|
|
|