-
公开(公告)号:US20150242193A1
公开(公告)日:2015-08-27
申请号:US14704689
申请日:2015-05-05
Applicant: NATIONAL INSTRUMENTS CORPORATION
Inventor: Hojin Kee , Tai A. Ly , Newton G. Petersen , Jeffrey D. Washington , Haoran Yi , Dustyn K. Blasig
CPC classification number: G06F8/41 , G06F8/34 , G06F8/443 , G06F8/4435 , G06F8/447 , G06F8/48 , G06F8/49 , G06F11/3636
Abstract: When compiling high level, graphical code (e.g. LabVIEW™ code) representative of a design, parts of the code that do not depend on external input data may be executed during the compilation process. Specific variables and/or value traces of specific variables in the program, e.g. constant values and/or repeating patterns may be recorded then analyzed, and certain transformations may be applied in the compilation process according to the results of the analysis, thereby optimizing the design. In one approach, the graph may be dynamically stepped through one node at a time, and it may be determined whether all inputs to the stepped-through node are known. If those inputs are known, type conversion and the operation corresponding to the stepped-through node may be dynamically performed. In another approach, a subset of the graphical code not depending on external data may be compiled and executed, thereby obtaining the same results as described above.
Abstract translation: 在编译表示设计的高级图形代码(例如LabVIEW™代码)时,可能在编译过程中执行不依赖于外部输入数据的代码部分。 程序中特定变量的具体变量和/或值跟踪。 可以记录常数值和/或重复图案,然后分析,并且可以根据分析结果在编译过程中应用某些变换,从而优化设计。 在一种方法中,图可以一次动态地跨越一个节点,并且可以确定是否知道到逐步节点的所有输入。 如果这些输入是已知的,则类型转换并且可以动态地执行与逐步节点相对应的操作。 在另一方法中,可以编译并执行不依赖于外部数据的图形代码的子集,从而获得与上述相同的结果。
-
公开(公告)号:US09690550B2
公开(公告)日:2017-06-27
申请号:US14704689
申请日:2015-05-05
Applicant: NATIONAL INSTRUMENTS CORPORATION
Inventor: Hojin Kee , Tai A. Ly , Newton G. Petersen , Jeffrey D. Washington , Haoran Yi , Dustyn K. Blasig
CPC classification number: G06F8/41 , G06F8/34 , G06F8/443 , G06F8/4435 , G06F8/447 , G06F8/48 , G06F8/49 , G06F11/3636
Abstract: When compiling high level, graphical code (e.g. LabVIEW™ code) representative of a design, parts of the code that do not depend on external input data may be executed during the compilation process. Specific variables and/or value traces of specific variables in the program, e.g. constant values and/or repeating patterns may be recorded then analyzed, and certain transformations may be applied in the compilation process according to the results of the analysis, thereby optimizing the design. In one approach, the graph may be dynamically stepped through one node at a time, and it may be determined whether all inputs to the stepped-through node are known. If those inputs are known, type conversion and the operation corresponding to the stepped-through node may be dynamically performed. In another approach, a subset of the graphical code not depending on external data may be compiled and executed, thereby obtaining the same results as described above.
-