Skip to main content



      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 09:12 Go to next message
Eclipse UserFriend
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 09:31 Go to previous messageGo to next message
Eclipse UserFriend
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 16:02 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 16:31:46 EDT 2025

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

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

Back to the top