发明名称 System and method for performing class propagation and type checking in a graphical automation client
摘要 A method for developing an automation client program in a graphical programming environment is disclosed. The graphical programming environment provides a set of automation nodes and controls which may be dropped and wired together to create a graphical program. The nodes include an automation refnum which references a user-selected automation class from an automation type library exported by an automation server application, such as Microsoft Excel; an automation open node which instantiates an object from the selected automation class; an automation invoke node which invokes a user-selected method of the automation class; and an automation property node which invokes, i.e., reads or writes, user-selected properties of the automation class. The nodes enable the displaying, manipulating, cataloging, editing or performance other operations, such as may be performed by an automation server, on data acquired or generated by a virtual instrument. A method for performing class propagation and type propagation checking of automation objects in a graphical program is also disclosed. The automation class of a first automation node is propagated from the first node to a second automation node when the two nodes are wired together or when the automation class of the first node is changed to a second class. The automation invoke node and automation property node perform type checking to verify that the user-selected method or property is valid for, i.e., defined by, the automation class of the node. The node requests an object manager to determine whether or not the method or property is valid. The object manager queries a type library which the automation class is in, in order to obtain a list of valid methods and properties for the automation class. The object manager searches the list to determine if the specified method or property is present in the list, i.e., is valid.
申请公布号 US6064816(A) 申请公布日期 2000.05.16
申请号 US19970811187 申请日期 1997.03.04
申请人 NATIONAL INSTRUMENTS CORPORATION 发明人 PARTHASARATHY, MURALI;SOJOODI, OMID
分类号 G05B19/042;(IPC1-7):G06F17/50 主分类号 G05B19/042
代理机构 代理人
主权项
地址