|
Roughly a decade after usb was released to do so, the legacy ports are finally starting to be removed from PCs. If you go with rs232 now, you run the risk of not having easy access to new hardware a few years down the line.
|
|
|
|
|
Yup. I have a serial port programmer for Microchip processors, and sadly, I don't have a serial port on my laptop...
Fortunately, my desktop machine does have such a thing, and I very rarely need to reprogram one on site...
Steve S
Developer for hire
|
|
|
|
|
They;re starting to disappear from desktops as well. I looked about 6mo ago, and about 1/3rd of the mobo brands on newegg no longer had serial, parallel, or game ports. Instead the space was used for even more usb ports and additional ventspace.
|
|
|
|
|
steve,
Thanks a lot for your reply. Yes, Maplin does operate in Ireland. A Cash drawer is electronically a simple but crude device. it consists of a solenoide to release the catch so that it opens, and a microswitches, which tells if it is open closed, or "No Cash Insert Present", i.e. the replacable plastic innards with pigeon holes for the Notes and coin is physically missing.
Microswitches and Solenoides typically operate at power levels far greater than provided by PC in and out ports. Most microswitches in my experience need to operate at at least 24 Volt 5 mA, to avoid long term degradation such as Dirt and Corrosion. The sparking at these lpower levels helps to keep things clean. Most solenoides for Mechanical action in this type of application take at least 24V and 50 mA . This is dictated by the scale of mechanical rigidity required to deter casual vandalism.
Again, Many thanks for your help.
Regards
BramVanKampen@aol.com
LateNightsInNewry
|
|
|
|
|
Hi,
I have a problem with a USB device in that it frequently fails when I try to connect to it to update its application. The manufacturer points out that this is a known problem and the solution is to disable and re-enable the device in Device Manager but this is, when I update the application to test something sometimes once a few minutes, a rather tedious and slow task.
The two devices, as listed in Device Manager are "Communications cable between two computers" in "Modem" and "SAGEM MONETEL EFT30 USB PORT (COM5) in "Ports (COM & LPT)".
Does anyone know how I can do this or what API I can use to do it?
Thanks in advance
|
|
|
|
|
Each time when I plug in USB memory stick to the pc, there is a window pops out. I have application to indicate whether a USB memory stick presents.I don't want this auto window to pop out. How shall I resolve it??
|
|
|
|
|
this is a known windows 2000 bug. to fix it you need to put a filter driver over usbstor.sys that mods the response to IRP_MJ_QUERY_CAPABILITIES.
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
look at the setupdixxx functions, you can enable and disable a device programaticaly.
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
Thanks I'll look into it.
|
|
|
|
|
I want to control my UPS from my C#.Net program.
if you please help me.
kn
|
|
|
|
|
Are you implying you want to do it via the Serial Port? See the SerialPort class in .net 2.0. After that, you'd have to do some API searching...
/\ |_ E X E GG
|
|
|
|
|
hi,can you help me?
I have a problem with console page...
when I type cmd in "Run" bar (in start menu), it resets my computer...
thanks
maria...
|
|
|
|
|
Your probably infected with a virus or a Trojan. Scan your machine and you might come up with some interesting results!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Sounds as if something got seriously corrupted in the Registry. Never happened to me before, but then again,I never tried 'cmd' either! I always use 'command.com' cmd is a reference to 'c:\windows\System\command.com'on my system.
If you type in the above system path, and you get the DOS Screen, there is nothing wrong with the command processor, but you should investigate.
Start with opening the Registry and search for 'cmd' , follow from there.
N.B.
The fact that you want to break into character mode (DOS Screen) makes me think that you're well used to .Bat and .Ini files
Well, those AutoExec.Bat and Sys.Ini files have gone. That information is now stored in the System Registry. Please read books about the registry, and familiarise yourself with the subject before you make any changes!
LateNightsInNewry
|
|
|
|
|
Hi
Two weeks ago I had this problem.
I think that you've got a virus.
Do you have any anti virus?
If you have update your anti virus,but I think you have to reinstall your windows
Regards
M.J.Arefi
|
|
|
|
|
Can I read data at rate of 400MBps or more in Scazzi Harddisk?
|
|
|
|
|
You'll have to clarify this a bit. Are you looking to TEST the data rate or are you trying to see what the drive says about itself??
And it's SCSI (pronounced SCUZI)...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
No. Even 15000rpm SCSI disks cannot sustain this transfer rate. The quoted transfer rates on Parallel IDE (133MBps), Serial ATA (1.2Gbps, 2.4Gbps for SATA-II), Ultra Wide SCSI 320 (320MBps) and Serial Attached SCSI (SAS, 3.0Gbps) are simply the theoretical speeds available on the transfer bus. If reading from or writing to the drive's on-board cache, this transfer rate can be achieved, but only (of course) up to the capacity of the cache, which is typically in the 8MB to 16MB range.
|
|
|
|
|
Once you've flushed/saturated the cache, a 7200 rpm drive will run at ~66Mbps.
|
|
|
|
|
I have an application where 4 audio files are played simultaneously in two channels of two conventional stereo cards. I have to migrate this to playing using a 5.1 system. There are limitations to existing WAVEFORMAT which does not identify multi channel device.
Can anyone help me with the procedure how to pack the audio packets (for 4 files) and assign to the multi channel sound card?
Any help is highly appreciated.
Thanks in advance.
Manoj
|
|
|
|
|
Hi,
setup: Router, connected to the internet, and a xbox 360 console several rooms away. They are not connected with a ethernet cable.
Now I want to plug an ethernet cable into the xbox which connects to a wlan adapter, and I also want to plug an ethernet cable into the router which connects to another wlan adapter. These two adapters have to connect to each other so that it's quasi a wlan bridge between these two replacing the physical ethernet cable.
Is this possible? What kind of wlan adapters do I have to buy? How do I setup them? I want the stuff to work just like a normal LAN.
Regards,
Stefan
|
|
|
|
|
hi,can anyone please tell me how the switching from user mode to kernel mode in windows happens?
i mean what ensures that a user mode application does not make a cpu-mode switch and then jump into the kernel
or access hw directly?a short description of how and where the switching procedure happens would help a lot.
thanks
|
|
|
|
|
Thread priority and time slicing take care of it.
When an app calls CreateFile(), the IO manager calls into the driver that owns this symbolic link, hitting its dispatch handler with an IRP_MJ_CREATE.
Same for WriteFIle() IRP_MJ_WRITE etc.
And, if the app has opened the file for sync IO, that calling thread in the app will be blocked untill the driver completes that IRP (IO Request Packet).
For data coming in, the driver will get an interupt, and this will absoloutely throw anything at a lower priority off the CPU and the system will call the drivers Interrupt handling routine.
You should look at stuff online about the NT scheduler, kernel, interupts, and so on (XP is still windows NT by the way)
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
Ah, and security. Memory in the virtual address space an app sits in is secured. So the app can only get to the bottom 2 gig on a 32 bit PC. The kernel has the top 2 gig.
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
I can only assume that you want to try and switch to Kernal Mode in the midst of your User Program. This is something that generally should not be needed in any user program. Windows puts up several layers of defence to stop you from doing so!, and for good reasons! (Remember Dos??)Read your Windows Documentation, find a way around whatever you want to achieve! In the long run, it is the better way, it is likely to continue on running with the next version of windows. If your program relies on anything in the kernal, it probably won't survive the next windows upgrade! (Don't be Stupid, I've Been there);)
LateNightsInNewry
|
|
|
|