Questions tagged [bus]

A Bus is a physical device used to connect different functional blocks of a computer or a different computers in order to communicate them together. Also Bus is a data type in MATLAB language used to bundle some data to virtual (just for useful rendering) or non-virtual (for contiguous memory allocation) structure.

The Bus advantages (as physical device) over wires are reducing the needed number of wires and catholicity. The main characteristics of Buses are width (amount of bits can be transmitted at once) and frequency (work speed).

The Bus as a structure of MATLAB language used to bundle different variables (or signals, for example in Simulink) in one structure. Can be used as virtual bus just for convenient accessing to variables and for reducing number of wires at Simulink diagram or as non-virtual - Nonvirtual buses use contiguous memory allocation for variables.

321 questions
4
votes
2 answers

Simple way to read values from the SMBus in C#, on a Windows machine?

I've been at it for a month, and still can't find a solution to this deceptively difficult problem. Specifically, I would like to read temperatures from the W83793 chip, using C#, on a Windows machine. I have virtually no experience with low-level…
Dalal
  • 1,096
  • 2
  • 17
  • 38
4
votes
1 answer

Scala message bus implementation by Actors?

I want to implement some kind of message bus in one of my Scala applications. The features would be: ability to subscribe to 1 .. N types of messages messages may have payloads loose coupling (nodes only hold a reference to the bus) lightweight (no…
Andreas Eisele
  • 743
  • 1
  • 9
  • 19
4
votes
4 answers

Bus Error in cron job

I have set up a cron job for sending emails from my site using php. It was working fine. Today I got one error message like this "/bin/sh: line 1: 29681 Bus error". Could you please tell me what is this bus error and its solutions? Thanks In…
user457508
  • 41
  • 1
  • 5
4
votes
2 answers

How does parallel processing solve Von Neumann's bottleneck?

I've been reading about Von Neumann's bottleneck, and AFAIK, the problem lies in that the CPU should either fetch or modify data operations, but not both at the same time; since they both require accessing the same memory bus. So, the problem mainly…
a.u.r
  • 1,253
  • 2
  • 21
  • 32
4
votes
3 answers

I am designing a bus timetable using SQL. Each bus route has multiple stops, do I need a different table for each route?

I am trying to come up with the most efficient database as possible. My bus routes all have about 10 stops. The bus starts at number one until it reaches the 10th stop, then it comes back again. This cycle happens 3 times a day. I am really stuck as…
Sabai
  • 1,579
  • 5
  • 24
  • 40
4
votes
3 answers

Using Azure Service Bus in java

I'm trying to subscribe to an Azure service bus topic in java. To do that, I need to create a ServiceBusContract instance. In every example I found, they do it like this: String issuer = ""; String key = "
rataticsd
  • 43
  • 1
  • 3
4
votes
4 answers

Does the .NET Micro Framework support the CAN bus?

I know that the .NET Micro Framework supports the I²C bus. Are there some libraries for CAN or CANopen too? If not, does it support CAN without using other peripherals? Can I build CAN support myself?
Markus Bruckner
  • 2,852
  • 2
  • 24
  • 29
4
votes
8 answers

esb solution, servicemix or wso2?

We are trying to decide which ESB choose between ServiceMix or WSO2? We are looking an esb to: Support different protocols (REST, SOAP, JMS, HTTPS,..) Generate statistics or some console to see "what's happening, how many request are arriving, how…
culebrins
  • 428
  • 9
  • 21
4
votes
2 answers

How does the OS interact with peripherals like sound cards/ video cards etc

As far as I understand it, any program gets compiled to a series of assembly instructions for the architecture it is running on. What I fail to understand is how the operating system interacts with peripherals such as a video card. Isn't the driver…
Matt
  • 25,943
  • 66
  • 198
  • 303
3
votes
1 answer

CPU Instructions per second

I was given this question on my study guide for a test I have coming up. I don't understand how to tackle this problem. My test is today and I would appreciate some help. If a CPU issues one memory request every instruction and the computer runs at…
snotyak
  • 3,709
  • 6
  • 35
  • 52
3
votes
0 answers

How many devices can be connected to one wire bus

How many devices can be connected to one wire bus and how many temperature sensors(DS18B20) can be connected to Raspberry Pi 3b+?
3
votes
1 answer

Does a variable only read by one thread, read and written by another, need synchronization?

Motive: I am just learning the fundamentals of multithreading, not close to finishing them, but I'd like to ask a question this early in my learning journey to guide me toward the topics most relevant to my project I 'm working on. Main: a. If a…
Physician
  • 483
  • 2
  • 7
3
votes
1 answer

Will the compiler optimize the for loop to match the bus width?

Let's say that I want to set a char array with different values, but for the sake of simplicity: char buff[1024]; ... for (int i = 0; i < 1024; i++) buff[i] = NULL; Is the compiler going to optimize this to match the bus width? Or should I manually…
GuillemVS
  • 356
  • 1
  • 13
3
votes
2 answers

Classifying USB Protocol in the OSI Model

Im having a hard time Categorizing the USB Protocol in the layers of the OSI Model model. Im guess there are 7 layers to begin with. These are the Informations i believe that corresponds to the layers: 7. Application (Software) - Application…
Jonas Müller
  • 31
  • 1
  • 3
3
votes
1 answer

Multiple Subscribers to same message Rebus Azure Service Bus

I have two exactly same consumers Consumer 1 using (var adapter = new BuiltinHandlerActivator()) { adapter.Handle(async (bus, message) => { Console.WriteLine("Got message > " + message); …
1 2
3
21 22