hardware

is there any tool or software that scans all computer hardware for problems?

I have a C++ program I wrote that behaves differently on one machine in particular and I suspect there are hardware issues with that machine. I was about to begin using the different test programs available for testing the different hardware components (like memtest), but I was wondering if anyone can suggest any good tools or programs ...

Reading data from Flight Simulator

I'm looking at building some hardware components to interface with Microsoft Flight Simulator which (hopefully) will display things that are currently taking up screen real estate (altimeter, airspeed indicator, radios, etc.) Is there a way to read the values they have while FlightSim is running so that I can synchronize the external, h...

Driving DTR with System.IO.Ports.SerialPort in .NET

I have a sensor that uses RS232 over USB to receive commands from a PC and send data to the PC. The sensor needs to be reset (using the DTR line) before a command can be sent to it. I tried to use the built-in .net serial port, but it does not seem to drive the DTR line as expected. I am beginning to wonder if the DTREnable property ac...

What does the number of ways of a processor mean

Hello, I am doing some hardware work and I do not know what is the difference between a 4 way processor and an 8 way processor. Can please anyone clarify what does way mean?. Thanks a lot. ...

Where can I get a network hub (not a switch) to sniff packets?

For an anti-hacking project I need to get a network hub that can sniff packets - not a switch. A lot of products are calling themselves hubs, but are really switches. Can anyone recommend a true hub? ...

Any advantage of one architecture over another for array intensive computing?

I am curious to know if there exists an architecture that is quicker for handling array intensive calculations. For example; will some arbitrary C code ran on a MIPS workstation complete quicker than when ran on a x86 workstation? I suppose a better question is do some architectures have a faster FPU? I am aware that one of the newer o...

How to tell if your code is running on an iPhone or an iPhone3G?

I am trying to determine if my code is running on an iPhone or an iPhone3G. My first try was to use the UIDevice class in UIKit, but both iPhone and iPhone3G return the same responses: NSLog([[UIDevice currentDevice] name]); // Name of the phone as named by user NSLog([[UIDevice currentDevice] uniqueIdentifier]); // A GUID like string ...

parallel port programming

Hi, quick question: Can parallel port receive and send data at same time? And if u have more tips about VB and parallel port programming, please feel free to tell me. :) Thank you ...

How should I estimate hardware requirements for SQL Server 2005 database?

We're being asked to spec out production database hardware for an ASP.NET web application that hasn't been built yet. The specs we need to determine are: Database CPU Database I/O Database RAM Here are the metrics I'm currently looking at: Estimated number of future hits to website - based on current IIS logs. Estimated worst-case...

Parallel Port

If I understand the parallel port right, sending data from (D0 to D7) simultaneous, but that it can control the sticks individually? example: D0 = Input D1 = Input D2 = Output ... ... ... D7 = Input would it work? what I want to do is to both send and receive data simultaneously. thank. ...

Where and how does software meet hardware?

Where in a computer does the abstract (letters on the screen) meet the real (electrical current passing through circuits in memory and processors). How did that evolution happen? I'm talking deeper than assembler here, I think. Maybe a level deeper than processor instructions? At some point commands are actually interpreted by hardwa...

What would be a good programming language (or a set of libraries for C++) to interface with electronic components (stepper motors etc.)?

I'm not an electronics guy, so I might not be able to explain precisely what I need. This is a question a friend keeps asking me. What my friend is looking for is a programming language that would allow him to: Interface with hardware (via serial and USB ports). Write multithreaded code. Throw together UIs very quickly. Port his code ...

FPGA based RTL evaluation

Currently I am testing some RTL, I am using ncverilog, and it is very ... very slow. I have heard that, if we use some kind of FPGA boards, then things will be faster. Is it for real? ...

Best method to obtain current memory configuration in VBA

I am attempting to get the current users RAM configuration. I would like to use VBA to look this up and then store it in a table. I need the number of chips along with the amount of RAM on each chip. Is this possible to lookup programmatically using VBA? Do I need to use Windows Script Host? ...

How can I determine the amount of free space of a CD-ROM?

I am attempting to determine the amount of free space a CD has using the following code: ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from Win32_LogicalDisk WHERE DriveType =5"); foreach(ManagementObject mo in searcher.Get()) { Console.WriteLine( "FreeSpace: "+mo["FreeSpace"].ToString()); Console.Wr...

are you supposed to use both NICs on a linux server?

this may sound ridiculous, but i'm really not sure whether to use the 2nd NIC on a linux server. what do you do with your 2nd NIC? is it for redundancy or for throughput? on our mail server (postfix), we're very confused as to what is the optimal use of that 2nd NIC. thanks so much! ...

Can anyone recommend a good resource for learning VHDL?

Can anyone recommend a good book for learning VHDL? Or failing that, any good resource? ...

COM vs WMI for Information providing

What is better method to use if I would like to provide the user with some information about my Hardware device. Should I develop a proprietary COM Library or should I develop a WMI provider? ...

retrieving the serial number of a USB keyboard under Windows

Many USB devices contain a unique serial number (which is actually a Unicode string) which the host can use in conjunction with the 16-bit vendor and product ID numbers to uniquely identify the device. I'm trying to figure out how to write a Windows application that would be able to display a list of all USB human interface devices atta...

Exporting tasks to 'C using DPI

I have an verilog based test-bench, interfaced to 'C source using DPI. Now using DPI I am planning to write my whole firmware. To do this I need 3 things Register Read Register Write Interrupt handler As I understand, register reads and writes are tasks that I need to export from the RTL test-bench. And Interrupt handler (I implemented...