Questions tagged [hardware-interface]
200 questions
0
votes
1 answer
PCI express could not open device, PCIE_open failed
I am using Intel DE2i-150 board where I have Intel atom processor with yocto os and fpga with Nios II processor. I am trying to access the fpga board from yocto. Initially I was able to communicate but due to some other installation now the…

Diya
- 1
- 4
0
votes
1 answer
C to Fpga error with LCD under Altera DE2-70 board
I tried to display ASCII on the LCD, I am using a DE2-70 board and Handel-C using the Altera DE2 function library. This is the code I am compiling:
set clock = external "N2";
#include "DE2.hch"
void main(void) {
DE2_LCD_LINE line;
line =…
user4259109
0
votes
2 answers
Openhardwaremontor.dll function access in VB.net
I am trying to use Openhardwaremonitor.dll to read CPU temperature, but not able to get it right.
If cp. = SensorType.Temperature Then
Trace.WriteLine([String].Format("{0} Temperature = {1}", sensor.Name,…

SOAMad
- 325
- 5
- 22
0
votes
1 answer
Programming with connected hardware
I think this will be most easily demonstrated with an example, but the question is a general one. Say I am using a library like PyVISA, which interfaces GPIB devices with my program. I have set up a python class for each instrument, so for a power…

roboguy222
- 157
- 13
0
votes
1 answer
Event notification for ::SCardListReaders()
In the PC/SC (Personal Computer Smart Card) Appln, I have (MSCAPI USB CCID based)
1) Calling ::SCardListReaders() returns SCARD_E_NO_READERS_AVAILABLE (0x8010002E). This call is made after OS starts fresh after reboot, from a thread which is part…

dpb
- 353
- 4
- 15
0
votes
1 answer
start speech recognition program when specific microphone is detected at USB port (inorder to avoid careless usage)
I want to restrict my speech recognition program to be only used by one single specific microphone. How to design the module so that if that specific microphone is connected then the further execution will start, otherwise it will be terminated.
I…

bsnayak
- 58
- 7
0
votes
1 answer
Ruby SerialPorts
I'm using the ruby serial port gem. After I open up the port I send the data I want like this.
sp.write [200.chr, 30.chr, 7.chr, 5.chr, 1.chr, 2.chr, 0.chr, 245.chr].to_s
It doesn't work, but if I put it in a loop of around 200 times:
200.times do
…

Seth Archer Brown
- 1,141
- 4
- 12
- 27
0
votes
1 answer
Serial Port Data Structure
I need to send data to a hardware device over serial port. I'm using a program called serial port tool for os x.
After I connect to the device there is a form box where I can type data to send. I have no idea how to format the data.
Here is an…

Seth Archer Brown
- 1,141
- 4
- 12
- 27
0
votes
1 answer
GDI & Hardware Cursor
I am working on iMX51 project.
The RTOS is WINCE 6.0 r3.
And I am using iMX51 freescale evaluation kit.
We are actually looking to speed up the GDI and to implement the hardware cursor.
I am unclear abt the following:-
What exactly does…

Abhineet
- 6,459
- 10
- 35
- 53
0
votes
2 answers
How do hardware programmers find addresses of a hardware component?
I'm a high level programmer and starting to know hardware stuffs and assembly. I'm just curious how do hardware programmers or maybe hackers know the specific address of a component like for example a bluetooth in a mobile phone. How can you read…

dgzz
- 2,929
- 6
- 34
- 56
0
votes
1 answer
How to input data programatically into a system that puts up a form but doesnt have data upload features
I'm not sure if this question is entirely appropriate for SO but it seemed to work better here than in SuperUser so apologies if its in the wrong place. Happy to move it if so.
I'm trying to figure out how I'd automate the input of data into a…

Tahnoon Pasha
- 5,848
- 14
- 49
- 75
0
votes
0 answers
Android mechanical switching event detection
Thanks for your help in advance: on some rare android devices, there are mechanical switches, for example, the lid open switch, a flashlight popping-up switch in Galaxy camera. Our question is how do we, using android SDK, capture these mechanical…
0
votes
4 answers
What techniques should I learn to be able to control appliance programmatically?
I'd like to be able to control household appliances.
I don't know where to get started, does anyone have any tips?

user198729
- 61,774
- 108
- 250
- 348
0
votes
0 answers
python script instance awareness/communication
I have a script which could be run 1,2... x number of times in parallel.
foo.py &
foo.py &
...
Each script has to check the existence of a piece of hardware (open all found FTDI device, read some data, close it). foo.py checks for FTDI devices once…

Naib
- 999
- 7
- 20
0
votes
3 answers
Why there is reset button to desktop computer but not for laptop
The main question is how reset button from the desktop computer works. How processor deals with reset button hardware interrupt.
And Why there is need of reset buttons to computer.
if so
then Why laptop computer does not have reset…

Parmeshwar C
- 979
- 1
- 12
- 22