Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [app4mc-dev] Greetings, New Sub

Hello, 

Have you received my previous email? I am sorry to bother you with a follow up email without hearing from you. I am at a point where I really need to find answers to the questions. 

I could not find a way to manipulate the Labels that SenderReceiverRead or LabelAccess(Read) inside the runnable. 

And I still could not understand how is SenderReceiver Read/Write related to component's ports. 

I would like to talk in more detail, incase I could not properly explain myself. 

Best regards,

Ibrahim 

On Mon, Dec 12, 2022, 12:06 Ibrahim Özcan <ibrahimbell35@xxxxxxxxx> wrote:
Hello Harald, 

Thank you very much for the reply, and giving me opportunity to ask my questions. I`ve already installed app4mc and investigated democar and other examples, and I am regularly using the online help documentation for meta-models.

I have currently two questions: 

1.) First one is about “Sender Receiver Communication(SRC)” which is an abstract activity graph item, and SR read and write generalize this. (SR_Meta_Model in attachments). This item has a relationship with component ports (App4mc_SRC in attachments). I could not understand the exact relation between SR_Read/Write and Component’s port, and It is not specified in the meta-models. For example: SR_Read reads a label as Label Access (access Type: read) do. My first question is could you please specify the relationship in terms of the Amalthea meta-model language? 

I am interested in Sender Receiver Read/Write because I want to be able to show the relationship (in terms of data flow) between a runnable and the component which includes the runnable. 


2.) My second question is about “Labels”, “Local (Global) Mode Labels”, and the overall dataflow. Labels are abstract memory elements and later Mapping Model maps them to a physical memory in HW Model. SR_Read/Write and LabelsAccess(Read/Write) reads and writes labels. So, Runnables have a way to access data in memory. 

The user is able to define switches and switch entries (decision paths), put conditions(local mode label condition) on each entry. The user is able to assign a value of local mode label to global mode label and vice versa. 

However, I could not find a way to use the value of a Label which is read by either SR_Read or LabelAccess (Read). I can use local Mode Labels(like local variables defined in a function) but cannot show a dataflow from Label to Local Mode Label.

I could not find an example where a runnable manipulates the Label which it reads. Only thing I can show is that the runnable reads and writes data.

However, what happens to the data that is read and also what do LabelAccess(Write) SR_Write actually write? They write into a label (abstract memory element) but exactly “what” do they write into that label? 

I am sorry for the poor technical explanation since I am new to the most of the things.

Thank you very much.

Best,
Ibrahim

On Fri, Dec 9, 2022, 16:31 Mackamul Harald (CR/ADX1.2) via app4mc-dev <app4mc-dev@xxxxxxxxxxx> wrote:

Hello Ibrahim,

 

feel free to ask in the mailing list first. If necessary we can have an online meeting later.

 

> I am currently trying to  visualize, and … to understand the meta-model

 

I assume you already downloaded the APP4MC platform and started the IDE.

The Eclipse help is a good start to understand the meta model and also shows how to download our EMF viewer.

 

If you want to start without installation you can take a look at the online help:

 

 

 

Best regards

Harald

From: app4mc-dev <app4mc-dev-bounces@xxxxxxxxxxx> On Behalf Of Ibrahim Özcan
Sent: Friday, December 9, 2022 12:02 PM
To: app4mc-dev@xxxxxxxxxxx
Subject: [app4mc-dev] Greetings, New Sub

 

Hi everyone, 

 

I am a new learner of Amalthea, and App4mc. I've just found out about this mailing list, wanted to say hello. I am currently trying to  visualize, and to do it efectively and clearly I try to understand the meta-model very clearly. And I have some questions about the Amalthea meta-model.

 

Is it ok if I ask my questions to someone who I can make contact with? Or is it ok if I ask them via this mailing list? I wouldnt like to spam your mail boxes for every question I have. I posted them in app4mc forum but could not get any reply. 

 

Sorry for any inconvience, 

 

Best regards, 

 

Ibrahim

_______________________________________________
app4mc-dev mailing list
app4mc-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/app4mc-dev

Back to the top