Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » send and read signal parameters
icon4.gif  send and read signal parameters [message #1730490] Tue, 26 April 2016 05:53 Go to next message
Eclipse UserFriend
good morning guys,

actually, I don't understand how to send and read a signal parameter.

let's say that I want to model a simplified control system (capsule 1) and the controlled system (capsule 2).
I model a protocol "signal", with two signals: "sensing" and "actuating". each one of them has a parameter "param"...suppose an int.

I would like to model a SMD in which the value of the "param" of "actuating" depends on the value of the "param" of "sensing".

how can I do it on C++?



----------------
Antonio
Re: send and read signal parameters [message #1732639 is a reply to message #1730490] Wed, 18 May 2016 14:10 Go to previous message
Eclipse UserFriend
Hi Antonio,

I would need more information to understand what you are trying to do.

What are the directions of each of the two protocol messages (what you call signals)? In? Out? InOut?
In other words, what protocol messages are capsule 1 and 2 expected to send and receive?

If you want to save a value, you can create a capsule parameter of the right type (int in your case) and reuse that later.

Previous Topic:Unable to connect two ports inside top capsule
Next Topic:missing dependency
Goto Forum:
  


Current Time: Tue Jul 15 12:52:56 EDT 2025

Powered by FUDForum. Page generated in 0.04726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top