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
1
vote
1 answer

How do I build up a LIN message and send it out in CAPL

I am a beginner in CAPL script. I am writing a script to send a 8 byte message with a frame id (PID). When i run the script in canoe, ECU does not give a response.Every thing in the setup and database is correct. There is a problem in script. Below…
Prakash
  • 27
  • 1
  • 9
1
vote
1 answer

Why is this C code getting a bus error? (No external functions allowed)

I've been working through this code for hours but couldn't locate the error. It passes the compiler, but while running it gets a bus error, why? char *ft_strrev(char *str); char *ft_strrev(char *str) { int i; int count; int d; …
1
vote
1 answer

EventBus sticky post calls once

I use greenrobot as eventbus to post some sticky events.everything works fine and when I open application the ex. content is showed which shows sticky post is working fine. But when I close app and open it for second,third,... time there is no ex.…
Ali Akhgar
  • 101
  • 1
  • 10
1
vote
0 answers

AXI master bus functional model in vhdl

I am a Verilog user trying to make sense of VHDL code of AXI4 Master bus functional model (BFM) AXI4 Master Bus functional model VHDL code I have a few questions from the above code What would block diagram of the code look like (how are components…
user2979872
  • 413
  • 1
  • 9
  • 20
1
vote
3 answers

bus error 10 - char * array

I write the following c++ code : int main() { char *argv[4]; cin >> argv[0] >> argv[1] >> argv[2] >> argv[3]; cout << argv[0] << argv[1] << argv[2] << argv[3] << endl; return 0; } This gives me a segmentation fault 11. But If I…
Sim
  • 27
  • 4
1
vote
0 answers

A performance test doesn't work with nanomsg (bus)

I'd like to use nanomsg as bus-system. So I tried to code a performance test and testing it by using two PCs. At first I wrote an server, which connects to the other server: #include #include #include…
clausismus
  • 165
  • 1
  • 9
1
vote
0 answers

MATLAB bus from struct

I want to hand data from a struct in my MATLAB workspace to an S-function. To do this I created a bus. The code is compiled without any errors. When I start the Simulation I get the following error message: Invalid structure-format variable…
J.M.
  • 25
  • 9
1
vote
1 answer

return oracle service bus error code

I'm creating a proxy in Oracle Service Bus 11G for a webservice. After receiving the request and when the response is 200, everything is ok, the OSB return the same 200 code. Now, in my WebService I raise error 400, 406, 403, etc. depending of some…
Miguel Leal
  • 13
  • 1
  • 4
1
vote
0 answers

CAN bus in vehicles

I need to design a HMI protocol for ECUS in cars which are connected to a CAN bus. I have basically 3 tasks to consider. The system consists of some Application control units and a HMI control unit and these all are connected to a same CAN bus. I…
nikoli
  • 11
  • 1
1
vote
0 answers

I2C linux device driver, running on Petalinux and running on Zedboard

I have read the Linux documentation on writing I2C clients (writing-clients) and have used this blog link http://renjucnair.blogspot.in/2012/01/writing-i2c-driver.html and other resources I could find. I am trying to access the device using the…
1
vote
0 answers

Not set layout of bus seat properly dynamically

I am worked on Bus Ticket Booking Application. I write code for seat layout but seats display in one column. I don't know why only one column display. but I want to look like below image code that i used void prepareSeatChart() { try { …
Varshil shah
  • 268
  • 1
  • 6
  • 19
1
vote
1 answer

Simulink: Perform math operations with multilevel bus signals

I am seeking a method to sum multilevel bus signals at the lowest level within their hierarchy without loss of the bus signal structure. MWE For example, in the MWE below, the bus signal is summed at the lowest level automatically, however, the bus…
kando
  • 441
  • 4
  • 16
1
vote
1 answer

Missing source when conecting bus line to mux

When I connect "MyMux2" with a bus-line to the ADCdriver (see picture) I get error messages like: "Error (12009): Node "Misc:b2v_inst|data_mymux2_2x1" is missing source". Does someone know how to solve this problem? Thanks!
Norick
  • 215
  • 1
  • 8
  • 19
1
vote
1 answer

I/O Memory Mapping

I am reviewing the essentials of I/O, and while I think I understand most of what's going on, I'm still confused as to how either physical addresses or separate ports are mapped to individual devices. Does the computer poll the bus on system boot,…
crawfordr4
  • 147
  • 7
1
vote
1 answer

How to use MS Azure AppFabric via proxy server in corporate network

I'm testing the Service Bus AppFabric within our corporate network by runnng the Echo service sample from the AppFabric SDK samples (WindowsAzurePlatformAppFabricSDKSamples_V1.0-CS). However, the code seems to hang at the host.Open(), and no…
user419030
  • 11
  • 2