Questions tagged [hardware-interface]

200 questions
0
votes
2 answers

Beaglebone black not working

I bought beaglebone black 2 months back and it was working fine for one month after then I got busy in some work and didn't use it for a month and now when I try to connect it with my computer its not detected, not even when I do dmesg Does anyone…
0
votes
1 answer

Writing ttyUSB snooper failing

Summary: I am writing a ttyUSB snooper. The code is supposed to read(2) data from a serial port and write(2) it over to another serial port. Reading from the serial port works great with /bin/cat but fails with my code. Hardware Setup is: I made an…
0
votes
1 answer

How to design a code generator that generates Python code

My current project requires that I read data that is stored in configuration files and generate hardware-abstraction-layer code from it. The configuration data structures describe digital hardware in a low-level way (components with…
ThoWe
  • 346
  • 3
  • 13
0
votes
0 answers

Device change equivalent of FileSystemWatcher

I am going through a Pluralsight course on Windows Services, and in the course, the instructor creates an instance of the FileSystemWatcher object. I am mostly following the course for now, but once I finish it, I have bigger dreams than taking…
Nick Fulton
  • 303
  • 1
  • 2
  • 10
0
votes
1 answer

Writing Hardware Drivers, APIs, and Services

What books/blogs/podcasts etc... discuss patterns and best practices for designing software systems that interact with custom hardware and robotics? I am particularly interested in any books that would discuss strategies for writing a program that…
Gus
  • 649
  • 5
  • 14
0
votes
1 answer

Find valid trigger sources on DAQmx device

Using National Instruments' DAQmx via C++, I would like to present a list of possible physical trigger inputs available on the system to the user. I can set a task to start on an external trigger by calling something like char* trigger_source =…
0
votes
1 answer

Access "webcams" that don't show up in device manager as imaging devices

I've got some code (Winforms, C#, .Net 4) that uses the Directshow.Net library. I've run into a problem 2 times now where a device has a "webcam" but it doesn't show up in Device Manager as an imaging device, but as something else. When that…
Benji
  • 105
  • 8
0
votes
1 answer

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.
DrMHC
  • 795
  • 2
  • 11
  • 21
0
votes
1 answer

How can I capture the key pressing from a external equipment?

I have a hardware which connect with my computer via com interface, I want to implement such a feature: When the button on the hardware is clicked, My application can capture this event and then write something on my application. So How can I listen…
MemoryLeak
  • 7,322
  • 23
  • 90
  • 133
0
votes
1 answer

Are IO Control codes determined by the hardware or ...?

I have a small project (for my cell phone) on the go, and I believe I have found IO Control codes for what I want to accomplish (theres nothing at a higher level unless I can reverse engineer the dlls and call them). However, the codes are from a…
0
votes
1 answer

How to know the information of USB endpoints?

How can I determine the number and type of endpoints(control - IN/OUT,interrupt-IN/OUT?) my USB device is having.DOes it differs if I plug the same device onto different hosts(Linux,Windows,Mac)
Raulp
  • 7,758
  • 20
  • 93
  • 155
0
votes
2 answers

How to on/off an electric bulb via computer's usb port using C language program

I want to write code in C language to switch on/off an electric bulb via USB port. USB port gives 5 volts, so I want that bulb can take power from computer's USB port. Is it possible?
kapil
  • 505
  • 4
  • 18
0
votes
1 answer

How to simulate a USB drive

Is it possible to simulate a USB drive with software only? I mean, for example, to expose a local memory space to the OS so the device manager will recognize it as a USB device. I'm not familiar with hardware implementation, but I'm sure that it is…
rkellerm
  • 5,362
  • 8
  • 58
  • 95
0
votes
1 answer

I want my software to respond when someone inserts a coin, how can I do it?

I understand this can seem a bit weird. So I'll give more details. Is it possible for my computer to interact with some kind of "coin collector" ( just like the kind that's used in a vending machine ) ? Basically I'd like to be able to implement the…
Ale_x
  • 101
  • 1
  • 2
0
votes
1 answer

How to know a USB device's supporting function?

I want to figure out how any usb device works. Lets say I have a scanner. When I start scanning there must be some command being given by Windows to device in order to start scanning and transfer data. I want to know how does this work ? and are…