CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: HellMaster22

Search: Search took 0.06 seconds.

  1. Re: "Creating variable" on runtime? - message decoding

    Thanks for clarifying superbonzo. If I understand it right, the map class is for parsing the description file. First I need to study the class more in depth.

    But the C solution would be easier for...
  2. Re: "Creating variable" on runtime? - message decoding

    Seems to me, I've described the whole problem wrong. :-/ Sorry for that.

    On the bus you transmit and receive LIN messages in this simplified form:

    ID (1byte), Data (2 - 4 - 8 bytes lenght...
  3. Re: "Creating variable" on runtime? - message decoding

    You hit the nail S_M_A. We have a CANoe from VECTOR, but as you mentioned, its not really the cheapest one... and for some simpler tasks, where someone just needs to track the bus, its to complicated...
  4. Re: "Creating variable" on runtime? - message decoding

    Hi Paul,

    thank you very much for your reply. I'm not a C++ programmer. Can you be more specific regarding your example?
    Lets say you receive on the bus the following message:

    ID 10
    Length 4...
  5. Re: "Creating variable" on runtime? - message decoding

    Thanks for your reply, superbonzo, but your code snippet is not applicable. We have to separate the problem into two sections.
    1) the application itsefl, which is able just to print out some text -...
  6. Re: "Creating variable" on runtime? - message decoding

    Thanks for the reply, S_M_A.
    Actually we have some sort of file with the frame descriptions, but imagine this:

    You receive a message, according to the ID you identify the frame. So you have to go...
  7. "Creating variable" on runtime? - message decoding

    Hi guys,

    here is my problem description:

    I receive messages over a bus. Suppose there is a function to read the messages storing them into a struct defined as follows:

    typedef struct
    {
    ...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured