-
公开(公告)号:US20210089280A1
公开(公告)日:2021-03-25
申请号:US17016499
申请日:2020-09-10
发明人: Sebastian Moors
摘要: A block diagram includes at least a first block that exchanges data with an external service. The first block references a discovery object in a data definition collection. The discovery object defines a selection criterion. A method for generating source code from one or a plurality of blocks of the block diagram includes: opening, by a computer system, the block diagram including the first block in a model editor; reading, by the computer system, out the referenced discovery object from the data definition collection; generating, by the computer system, an application source code based on at least the first block; and generating, by the computer system, a service discovery source code based on at least the referenced discovery object.
-
公开(公告)号:US11126408B2
公开(公告)日:2021-09-21
申请号:US17023418
申请日:2020-09-17
发明人: Michael Mair , Sebastian Moors , Zein Dowe
摘要: Source code is generated from one or a plurality of blocks of a block diagram. The block diagram is hierarchical and includes at least a first subsystem that is configured for an incremental code generation. The block diagram references a definition database which includes a first object. The method for generating the source code includes: opening, by a computer system, the block diagram including the first subsystem in a model editor; generating, by the computer system, source code for the first subsystem, wherein generating the source code for the first subsystem includes determining information about the first subsystem; storing, by the computer system, the information about the first subsystem in the first object; and generating, by the computer system, source code for the block diagram, wherein the first object is read out to influence at least one parameter for generating the source code for the block diagram.
-
公开(公告)号:US10078500B2
公开(公告)日:2018-09-18
申请号:US15273992
申请日:2016-09-23
摘要: A method for generating production code from a block diagram on a host computer is provided. A block in the block diagram has a number of input ports for receiving signals and a number of output ports for sending signals. The processor identifies a first block in the block diagram. The input signal is traced back to a second block upstream of the first block. Compliance with a optimization condition is checked, the optimization condition being fulfilled when a group of adjacent blocks has an assignment operation that affects one or more elements of the input signal while leaving at least one element of the composite variable unchanged. A combined production code is generated for the group of adjacent blocks when the optimization condition is fulfilled so that the combined production code includes write instructions for those elements of the composite variable that are affected by the assignment operation.
-
公开(公告)号:US11620112B2
公开(公告)日:2023-04-04
申请号:US17079003
申请日:2020-10-23
发明人: Sebastian Moors , Renata Hein , Ulrich Eisemann
摘要: According to the invention, simulation code and production code are generated as source code from a model. The model comprises one or more blocks which specify a desired behavior of a program, in particular a control program. At least one of the blocks is marked with a simulation code attribute. Simulation code is generated for those blocks that include a simulation code attribute. Production code is generated for all other blocks. The generated source code includes both simulation code and production code. The simulation code portions are contained in the source code in a separable manner from the production code portions.
-
-
-