Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Custom data type(Structured Datatypes)
Custom data type(Structured Datatypes) [message #1809778] Tue, 23 July 2019 09:21 Go to next message
joy woo is currently offline joy wooFriend
Messages: 51
Registered: May 2019
Member
In sample project ArrowheadTests,there are some custom datatypes,
i didn't find how to add these datatypes in combobox,

i read the
https://www.eclipse.org/4diac/en_help.php?helppage=html/development/forte_struct.html
but couldn't find any clue,
the .dtp files are not shown in the tree navigator.
  • Attachment: 快照57.jpg
    (Size: 128.31KB, Downloaded 4 times)
Re: Custom data type(Structured Datatypes) [message #1809781 is a reply to message #1809778] Tue, 23 July 2019 11:22 Go to previous messageGo to next message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 136
Registered: February 2016
Senior Member
Hi, what do you mean you cannot add them to the combox? In your pictures the types are shown. The .dtp files are not shown in tree navigator, but are present in the directory where the project is
Re: Custom data type(Structured Datatypes) [message #1809783 is a reply to message #1809781] Tue, 23 July 2019 11:57 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 51
Registered: May 2019
Member
the thing is, i copy one file of .dtp and renamed it under the same folder, but it didn't appear in combobox
Re: Custom data type(Structured Datatypes) [message #1809793 is a reply to message #1809783] Tue, 23 July 2019 13:41 Go to previous message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 136
Registered: February 2016
Senior Member
mmm yes, maybe that's the case. DataTypes are not fully supported. I think what I did was to create a Function Block, and then in the .fbt file I changed one data input/output to the type of the dtp. And after restarting 4diac, the type was recognized

[Updated on: Tue, 23 July 2019 13:42]

Report message to a moderator

Previous Topic:Terminated for publisher and subscriber
Next Topic:4DIAC - Composite Function Block
Goto Forum:
  


Current Time: Thu Aug 22 00:25:36 GMT 2019

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

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

Back to the top