是德科技
直播中

许超丽

8年用户 198经验值
私信 关注
[问答]

SCPI代码完成功能只能工作一次

您好,我在WinXP SP3中运行VEE 9.2(build 9.2.135122(2010年3月22日))。我想在Direct IO事务中关闭SCPI代码完成功能。我取消选中Advanced Instrument Properties中的SCPI XML Filename复选框
这似乎工作一次 - 一旦我遇到运行时错误等,设置会自动恢复为启用SCPI代码完成。是否有其他人有这个问题?我真的想要禁用SCPI代码完成 - 它甚至会导致
我键入的事务会被破坏,例如在事务中键入语法更改后更改格式并且更改丢失!!!!我是否有最新版本的VEE 9.2?是否有补丁?这是一个众所周知的问题
?ThanksAndy

以上来自于谷歌翻译


     以下为原文

  Hello,

I am running VEE 9.2 (build 9.2.135122 (Mar 22 2010) in WinXP SP3.

I want to TURN OFF the SCPI code completion capability in the Direct IO transactions.  I uncheck the SCPI XML Filename checkbox in the Advanced Instrument Properties as per the help.  This seems to work once - as soon as I have a runtime error etc, the setting automatically reverts to having SCPI code completion enabled.  Does anyone else have this problem?  I really want to disable SCPI code completion - it even causes my typed transactions to become corrupted e.g. change the formatting after you have typed a syntax change in the transaction and the changes are lost !!!!

Do I have the latest rev of VEE 9.2?  Is there a patch?  Is this a widely known problem?

Thanks

Andy  

回帖(1)

许超丽

2019-3-14 19:59:18
您好mk,以下是代码完成如何破坏您的一天并降低您的工作效率的示例1.打开启用了代码完成的直接IO对象并键入:“sens1:corr:coll”,lv.att(并设置格式
到Real64,已修复3)2。
现在复制事务并粘贴。
例如,假设我想查询我刚刚设置的内容:双击第二个事务,删除事务的lv.att部分并添加一个?
在引号内你有:“sens1:corr:coll?”现在将格式设置为默认格式 - 你的编辑是lot3。
如果您禁用代码完成,则不会发生这种情况。还有其他一些代码完成会破坏您的编辑,但对于初学者来说这是一个很好的演示.... Andy

以上来自于谷歌翻译


     以下为原文

  Hello mk,

Here is an example of how Code Completion can spoil your day and reduce your productivity  

1. Open up a direct IO object with Code Completion enabled and type:

"sens1:corr:coll ", lv.att
(and set the formatting to Real64, Fixed 3)

2. Now copy the transaction and paste.  For example, let's say I want to query what I have just set:

Double click on the 2nd transaction, delete the ,lv.att part of the transaction and add a ? inside the quotes so you have:
"sens1:corr:coll?"
And now set the format to Default format - your edits are lot

3. This does not happen if you disable code completion.

There are other things that code completion screws up your edits on, but this is a nice demo for starters....

Andy
举报

更多回帖

发帖
×
20
完善资料,
赚取积分