hardware

Can this program damage my monitor?

I made a Python program that switches the entire monitor back and forth between random colours very quickly. I'm wondering if it can harm my monitor somehow. Also on an unrelated note, it's tripy to stair at the program for extended periods of time. The program import Tkinter import random class AppTk(Tkinter.Tk): def __init__...

USE WMI and WMQ to get Logical Disk and Partition Information from Win32_PnPEntity of SERVICE type USBSTOR

I am detecting when our proprietary USB device is attached to a PC. When we detect this, we get the related Win32_PnPEntity. We want to use this Win32_PnPEntity as a source of the following information: - USB Descriptor VID, PID, REV, Firmware Version. - Logical Disk Drive Volume and Partition information to get Drive Letter informatio...

Can parallel operations speed the availability of a file from a hard disk in R?

I have a huge datafile (~4GB) that I am passing through R (to do some string clean up) on its way into an MySQL database. Each row/line is independent from the other. Is there any speed advantage to be had by using parallel operations to finish this process? That is, could one thread start with by skipping no lines and scan every seco...

How to tell an IP address with 4 LEDs?

I am developing a net-managed device with the .NET Micro Framework. Since the idea is to have a bunch of devices in an office, sometimes it is necessary for the user to know the IP address of a specific device. So I've been trying to come with ideas on how to indicate the IP address the user. The only user interface is 4 LED lights ...

Beginner hardware design books

I'm looking to begin working with Arduino but I have no understanding of how to create boards, can someone help push me in the right direction? ...

Assembly - Privilege Levels

How can I perform restricted instructions such as IN and OUT from protected mode? I've found out that It would require privilege level (CPL) high enough to perform the IO instruction. How can I run in kernel mode, have IO permission or anything other that may help me? - I would like to have direct access to hardware, without anything bl...

Hardware and software setup for accessing and monitoring text messages on a phone connection

What hardware/software do I need to setup a machine that monitors incoming text ("SMS") messages on a phone connection? The software needs to be able to read the message, copy it to a database and then delete it. ...

AMD Fusion how can CPU and GPU share the same memory?

AMD announced it's Fusion platform some time ago. Having read a bit about it I'm both excited and sceptic. For example it should make it possible that GPUs and CPUs share the same memory. (and the GPU and CPU are both in the same package) Now since GPUs have a much higher memory bandwidth (around 10x the bandwidth a CPU has) and that the...

Will a hybrid hard drive improve Visual Studio compilation times?

I've seen various suggestions that hard disk speed is a big factor in Visual Studio compilation performance. There is now a relatively cheap hybrid hard drive available called the Seagate Momentus XT. This has a 7200 RPM hard disk of 250, 320 or 500GB and a 4GB SLC NAND SSD. Has anyone tried this in their development machine? Did it ...

the modem for detecting voice

hi. I write an application,and i want to detect when the remote party answers a phone call made by my application,i need to use the Voice Detection. Do you know which kind of modem have the appropriate hardware to detect when an outgoing call is answered? i'm programing with c#.net and kdtele component. Please help and guide me. Thanks...

Java Host System Architecture

In Java, how can I determine the system architecture of the host at run-time? With my current setup, Windows 7 x64, Java JRE 32-bit, Intel Xeon w/ Intel 64, the system properties that seem most obvious reflect the architecture of the Java VM. System.getProperty("os.arch"); System.getProperty("sun.arch.data.model"); Result: x86 32 ...

Scanning - hw custom document size

Hi all, I need to perform a scanning of areas which do not meet standard sizes of A3, A4 etc. Those scans have to be loaded and post processed by custom application. The rough idea of my colleague was to disassemble standard scanner and attach optics + electronic (somehow) to a custom device which will navigate it (continuously) through...

Getting confuse with ABI calling convention and arch

Hi, I am getting confuse with all those terms: ABI, calling convention, and hardware architecture. The ABI is link with the architecture: x86-64 have a different ABI than the i386. But then you can also define your own calling convention cdecl... Well so what is the link between all those concept? Which one is defining the other one...

Access Hardware Information Using ASP.Net

Our PC Tech's are having to go around our company and write down information about every PC within the company (OS, CPU Speed, Memory). Is there any way to gather this information through ASP.Net? I know you can do it using Winforms, and i know there is also a security risk, but all that aside is it still possible? ...

how to read/write a register

I see some code which are going to read/write some peripheral registers. I see the write operations are all followed with some delays. It seems to me that SW needs to wait for the value takes effect on HW. Some web page say register will get update every clock cycle. I guess that's the reason for waiting. Well, my questions are: Does r...

Need to control a serial port via .NET. What HW/SW choices to I have that run CLR 2.0?

I need to control 128 different serial lines via .NET (simply because I know it). I hear there are various Basic Stamps available, and then some XP, CE, Micro, and Embedded options available to me. /update: My plan is to have a MUX of some type break down my serial line into a specific address. I'm not planning on having 128 individu...

what is/where can i find more info on "HI2COUT"

looking to bit-bang the I2C interface of a MCP23017 with an ATtiny13A, a lot of places mention HI2COUT as a method to send data on the I2C bus but i have no clue if this is part of a language or a Library or even a description of what happens when called. so the questions: 1) where can i get info on HI2COUT? 2) if any one has ever inte...

Programmatically enabling/disabling hardware device

Possible Duplicates: [.NET] How do I disable a system device? Win32 API function to programatically enable/disable device Is there a way, in C#, to programmatically disable and re-enable a device? I'm looking for essentially the same functionality that occurs when you go into device manager and right click on a device and di...

how to generate hard interrupts on an unspecified CPU?

Suppose I have a button wired up to a GPIO line of the processor, and I'd like to have an interrupt generated whenever I press the button. Doesn this mean there should be a physical interrupt pin available on the CPU, or it's not actually exposed to outside world and interrupts are triggered internally and I can monitor them through spec...

Send data through 3G hardware device onto ftp site?

(Note: I am NOT talking about an iphone/phone.) I'm planning to get developed an independent hardware device which will be located in locations with just a power connection and 3G connectivity. These devices will monitor certain environment variables and SHOULD upload the data file generated (its a file) onto an ftp site. The device it...