发表于:2005-08-31 08:55:00
2楼
使用下面的函数可以实现
但是不建议使用,更好的方法是使用EXCEL编辑然后导入PDB
Function eda_add_block(NodeName, TagName, BlkType)
The eda_add_block function syntax has these parts:
Part Description
object An object expression that evaluates to an object in the Applies To list.
NodeName String. The node name on which to add the block.
TagName String. The name to identify the tag (maximum of 30 characters).
BlkType Integer. The block type index.
Return Value
Integer. FE_OK if data is valid
____________________________________
My blog
http://lostcity.blog.zj.com
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄