Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » eTrice » message of type boolean?(How to define a message of type boolean)
message of type boolean? [message #929444] Mon, 01 October 2012 13:12 Go to next message
ruud den bekker is currently offline ruud den bekker
Messages: 1
Registered: October 2012
Junior Member
Hello,

Is it possible to define an event or data driven
protocol that contains a message of type boolean?

Also I'm not able to define an int8 data type:

datadriven ProtocolClass interface {
incoming {
Message iZeroPosSensor(data: int8)
}
}

Eclipse is also complaining about int32, int64, float64 and string
for the example projects.

regards,

Ruud
Re: message of type boolean? [message #929467 is a reply to message #929444] Mon, 01 October 2012 13:31 Go to previous messageGo to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-Reichert
Messages: 220
Registered: July 2009
Senior Member
Hi Ruud,

does your model import the Types.room from the corresponding modellib (.c or .java)?
You can install an instance of the modellib project to your workspace using
New > eTrice > eTrice Java Modellib

-Henrik


Am 01.10.2012 15:12, schrieb ruud den bekker:
> Hello,
>
> Is it possible to define an event or data driven protocol that contains a message of type boolean?
>
> Also I'm not able to define an int8 data type:
>
> datadriven ProtocolClass interface {
> incoming { Message iZeroPosSensor(data: int8)
> }
> }
>
> Eclipse is also complaining about int32, int64, float64 and string
> for the example projects.
>
> regards,
>
> Ruud
Re: message of type boolean? [message #936197 is a reply to message #929444] Sun, 07 October 2012 20:02 Go to previous message
Thomas Schuetz is currently offline Thomas Schuetz
Messages: 17
Registered: January 2010
Junior Member
for an example how to import another model look at the last version of the Tutorials for Java or C. Here an example:

RoomModel trafficlight.example {
	import room.basic.types.* from "../../org.eclipse.etrice.modellib.java/models/Types.room"


Thomas
Previous Topic:Unable to run gen_MyModel.launch
Next Topic:[announce] eTrice 0.2 released
Goto Forum:
  


Current Time: Wed Sep 17 05:50:47 GMT 2014

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

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