Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:53 Go to next message
Antonio Giovannini is currently offline Antonio GiovanniniFriend
Messages: 3
Registered: April 2016
Junior Member
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 18:10 Go to previous message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

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.



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


Current Time: Fri Nov 01 00:18:15 GMT 2024

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

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

Back to the top