Questions tagged [hardware-interface]

200 questions
1
vote
1 answer

hardware buffering using SDL, question about how it works

I'm deciding to do my first game, its going to be simple but I want to use c++ and I chose SDL for my learning. So my question is about how the "buffers" are handled when writing code. I'll post my related code at the bottom. Ok, so basically the…
Ben Adamson
  • 129
  • 1
  • 2
  • 10
1
vote
0 answers

Is there any way to get serial number of ledger nano devices| Ledger Nano S,Ledger Nano X|Using Golang

How can I retrieve the serial number of a Ledger Nano S or Ledger Nano X device using Golang or JavaScript? Is it possible to obtain the serial number from the device?, as I want to match it with a serial number assigned to each user in my code? I…
1
vote
0 answers

tornado blocked by tight loop inside async function on windows but not linux

I'd like to run a http server and a USB-Serial button box key press watcher in the same script. To poll the button box for a response, there is a loop endlessly polling "did anything happen yet." (poll_for_response() + has_response()) On Linux, this…
Will
  • 1,206
  • 9
  • 22
1
vote
1 answer

difference between device id and pnp device id

can somebody please explain difference between those two terms, when I'm trying to print structs from Win32_AllocatedResource() I can find pnp device id (something like PCI\\VEN_...) and when I'm trying to print structs from…
geek
  • 2,677
  • 4
  • 23
  • 21
1
vote
1 answer

c# control of ip webcam

I recently purchased a cheap pan/tilt webcam, the camera is pretty cool but the interface leaves alot to be desired. Its all web based but I was hoping to make a winform application so I can fit it a little better to my needs. (bind directions to…
Crash893
  • 11,428
  • 21
  • 88
  • 123
1
vote
0 answers

Selecting the right USB - RS232 for some old hardware

So I'm trying to revive an old (late 90's) noise logger (Acoustic Research Labs EL-215 for those familiar) and I've been looking into USB-RS232 connectors. I have port settings from the original documentation which are as follows: EIA…
1
vote
1 answer

Communicating with a Bronkhorst Mass Flow Sensor - Device has no serial number?

I'm trying to communicate with a few scientific measurement devices in our lab and came across a strange issue. We use Bronkhorst Mass Flow Readers to measure the amount of helium gas running through our lines. NOTE --- I'm running my code through…
1
vote
0 answers

USB device without a user manual. Are there methods to perform "usb command scan"?

I received a device that comes with an SDK for python and software. This year my research group won't be renewing the software subscription because it is extremely expensive (>10k$/year). Understandable. However, the python SDK requires a connection…
PyThagoras
  • 195
  • 2
  • 18
1
vote
1 answer

How do i read HDMI input (say coming from another video source) in qt app meant to be run in an android device (amlogic)

How do i read HDMI input (say coming from another video source) in qt app meant to be run in an android device (@AMLogic chipset)
1
vote
0 answers

What Configuration i need for real time streaming with audio at 720p?

I am planning for IoT project that streams 720p RTSP or RTMP with audio at 60FPS with WIFI. I need to know what processor speed and what ram i will need on IoT board to stream it online with cloud and show on end mobile device. Also any other…
Jay
  • 274
  • 1
  • 4
  • 12
1
vote
0 answers

Using pyserial to interface with a power supply

I am using a RS-232 to USB converter to connect my Agilent E3640A to my laptop. I am trying to return the manufacture's name using the command "*IDN" as stated in their manual. When i try to read the line, I get an empty string. I am also just…
Nycbros
  • 95
  • 8
1
vote
1 answer

Does Android Things support PS/2 mouse or have library for it?

I've just started playing with Android Things and noticed that I could not find anything about PS/2 support in its library. I am trying to hook up a TPM754 trackpoint module to my RPI3 so that I can possibly write a drive so I can use it. As far as…
frogy
  • 15
  • 4
1
vote
0 answers

Get device make/model from disc drive, hard drive, etc

In Python 2, I'm looking to get the make/model of a device, such as an Ethernet card, hard drive, CD/DVD/BD drive, etc. I have no idea where to start, and the closest thing a Google search can come up with is detecting when a disc is inserted into a…
1
vote
0 answers

UWP USB (Hid) Device Won't Connect

This is my Hid library. It supports UWP, and Android. https://bitbucket.org/MelbourneDeveloper/hid.net/src/master/ This is an example of the library being used with the Trezor hardware wallet: https://github.com/MelbourneDeveloper/Trezor.Net I can…
Christian Findlay
  • 6,770
  • 5
  • 51
  • 103
1
vote
2 answers

Toggle pin from serial COM port via batch file

I'm attempting to use one of the pins from the serial port to toggle some outside hardware. I want to be able to call a batch file or something similar to be able to turn on/off the output of the pin. Is there a simple way to do this? Ideally i'd…
Mark
  • 113
  • 5