Questions tagged [hardware-interface]
200 questions
0
votes
0 answers
When removing & readding an element loaded through serialbus in Nodejs array my system crashes
So im writing this piece of code to maintain modules on a bus in NodeJs to replace older Delphi 4 code.
The module sends information in blocks, these blocks contain the encoded information and look like this:
{
sender_module_group: { name:…

Twizzler
- 491
- 1
- 7
- 25
0
votes
0 answers
Linux device interaction
In Linux, is it possible for an application interacts with hardware device( for instance: camera) without using /dev/* device file?So I mean is possible to use hardware device without making or “using” /dev/* device file?

Gregor
- 11
- 2
0
votes
1 answer
accessing low level attributes of a NSStream
I have a Keyspan PCI to RS-422 adapter that I'm using to connect old serial devices to a Macintosh. I would like to use NSInputStream and NSOutputStream to read and write so that I can take advantage of asynchronous nonblocking I/O since there will…
0
votes
1 answer
What is an OS' HAL?
The hardware abstraction layer (HAL) is (AFAIK) the lowest level software within a computing system. Thus, is it a set of functions implemented in assembly language (specific for a particular processor) which are called by some routines from the OS…

linuspauling
- 31
- 7
0
votes
0 answers
Advice dealing with Undefined Behavior in Python using Ctypes - OSError:exception:access violation reading 0x00000000000000000
I am using Python 3.8.8 (64-bit) to interface with a device (Meadowlark Spatial Light modulator) using ctypes 1.1.0 to read the provided DLL file and send data to the device. I am using Windows 11 Pro for Workstations.
I am seeing Undefined Behavior…
0
votes
1 answer
CK (tCK, nCK) unit ambiguity in DDR3 standard/datasheets?
I am designing a simplistic memory controller and PHY on an Artix-7 FPGA but am having problems reading the datasheet. The timings in the memory part's datasheet (and in the JEDEC JSD79-3F doc) are expressed in CK/tCK/nCK units, which are in my…

jayded-bee
- 103
- 4
0
votes
1 answer
Connecting Android phone to PC doesn't work anymore
When I connect my phone (an HTC Hero running Eclair) to my PC (running Vista), the phone begins charging but doesn't connect to the pc. I can't access the SD card or install apps from Eclipse on it. Normally, the phone would ask me what kind of…
0
votes
1 answer
Unit Testing With/Without hardward in the loop
Background
I am working on a project that interfaces with various cameras and their unique APIs. All cameras are abstracted into one interface, and the camera-specific API calls are contained within their own implementing classes.
Problem…

Garrit Strenge
- 100
- 7
0
votes
0 answers
Windows 10 Crashes when Running Python Code (PyVisa)
I'm trying to automate data collection from an SR245 Boxcar using Python 3.6 and the PyVisa library (version 1.11.1). 9/10 times, it works great. However, three times over the course of two days it has caused the entire computer to crash and reboot…

jaycoh
- 1
0
votes
1 answer
Is there a way to make a BLE tag secure without too much effort in programming it?
Does anybody know if there is a commercial BLE tag that cannot be copied and can communicate with a BLE HM-10 module.
So, programming it before, I can "install" on it a private key that can be read out by a Master BLE device and I can be sure there…

max_s
- 83
- 1
- 8
0
votes
1 answer
Can you make a remote connection in Solaris 7 unix appear to be local?
I am running a hardware test on stand that runs a GUI simulation in Solaris 7 SPARC machine.
I can not turn on power to the test equipment remotely because the simulation code checks to see if your local. I can not change the test stand code because…

Paul
- 198
- 1
- 9
- 22
0
votes
0 answers
Error received while deploying code to Pixhawk4 from Simulink
I am trying to run an example Simulink model provided by Mathworks, but while deploying the model to the Pixhawk flight controller, I am receiving the following error:
Error(s) encountered while building "px4demo_uORBReadWrite":
### Failed to…

Chris Toomer
- 23
- 4
0
votes
1 answer
How do I set a pin of 8051 high?
I'm using Keil to program the AT89C52 Microcontroller. I define a sbit to be a single pin of a port.
For eg: sbit a = P0 ^ 0;
But when I set a = 1, then I get the pin in a gray color in proteus where I run the program on simulated hardware. For…

Nabeel Parkar
- 348
- 3
- 15
0
votes
2 answers
Simplest method to run three desktop environments
I hope this question still falls within the remit of the stack-overflow exchange..
I need to run three web applications on three different displays as simply and cheaply as possible. Each display will have a user entering numerical information onto…

Alex
- 1,322
- 1
- 20
- 44
0
votes
0 answers
how to use single input textbox to write multiple inputs to the hardware using winform and socket programming c#?
I am working on a C# Algorithm in which i need to write dynamic inputs to the hardware platform. I am new to c# But i do have an algorithm in which i can write single input using winform textbox.
Now i am trying to use the same winform, apply any…

K. Maqsood
- 1
- 2