Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Andrea Di Domenico

@Andrea Di Domenico
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C++ parser
    A Andrea Di Domenico

    Thank you fro the answer

    C / C++ / MFC question c++

  • List<^>^ c++ [modified]
    A Andrea Di Domenico

    Hello, I would to use the List type as shows below:

    this->telecommandList->Clear();
    pTelecommand^ telecommand = gcnew pTelecommand();
    pMessage ^message = gcnew pMessage();

    pField ^field = gcnew pField("Coherent Mode Select",1,"Coherency");
    message->Fields->Add(field);
    
    field->Name = "Not Used";
    field->NumBits = 15;
    field->Description = "Not Used";
    message->Fields->Add(field);
    
    telecommand->Messages->Add(message);
    telecommand->SubAddress = 10;
    
    this->telecommandList->Add(telecommand);
    

    telecommandList is declared as List<pTelecommand^> ^telecommandList; Fields is declared as List<pField^> ^Fields; and Messages is List<pMessage^> ^Messages when I write:

    field->Name = "Not Used";
    field->NumBits = 15;
    field->Description = "Not Used";

    the first field added to message->Fields List change the value, because it is a pointer to field. how can i add more different field? I have another problem with the code below:

    List ^tempCommand = gcnew List;

    for each(pMessage ^mess in this->Messages)
    {
    	mess->EncodeMessage();
    	tempCommand->Add(mess);
    }
    this->Messages = tempCommand;
    

    in this case i have the same problem described above. thank you.

    modified on Tuesday, November 2, 2010 9:55 AM

    .NET (Core and Framework) question c++ help

  • C++ parser
    A Andrea Di Domenico

    thanks for your answer. A message is represented as Int16 type. The user, at run-time, can specify e.g (rule): bit1 :on/off field bit2 - bit5: address bit 6 - 11: sub address and so on... another rule could be: bit1: T/R field bit2 - bit10 telemetry and so on... When i write code don't know the rules. When the rules have been specified, the user select a particular rule and when arrive a message, the specified fields are filled according to the selected rule. Thank You.

    C / C++ / MFC question c++

  • C++ parser
    A Andrea Di Domenico

    Hello, I would to develop an application in c++ to decode some messages. The user can specify the value of each field and when a message arrives, it is decoded with the rules first specified. e.g. I have a message formed by 16 bit and at most I can have 32 messages in the same frame. The user can add the rules to decode the frame. Beginning the uses must specify the fields that form the frame and when the frame arrive, the application fills the fields specified by the user. How can i implement this application? is there some tool that simplifies the development? Thank You, Andrea.

    C / C++ / MFC question c++
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups