gongjigongyi.com

与米乐m6网页版登录入口代表实时聊天。 工作时间:上午 9:00 - 下午 5:00(太平洋标准时间)。

电话

致电我们

工作时间:上午9:00-下午5:00(太平洋标准时间)

下载

下载手册、产品技术资料、软件等:

下载类型
型号或关键字

反馈

Why does my VISA based connection to the 2701 Ethernet Connection Execute so slowly?

问题:

Why does my VISA based connection to the 2701 Ethernet Connection Execute so slowly?

答案:

Product(s) :

Integra Mainframe: 2701

 


Question : Why does my VISA based connection to 2701 Ethernet Connection Execute so slowly?


Answer:

A slow execution symptom appears when doing consecutive reads to an Ethernet based instrument a loop.

When VISA installs, the VI_ATTR_TERMCHAR_EN attribute is set to false by default. This attribute turns on or off a flag that determines whether the viRead operation will return when a terminator character is received. When it is set to false, the viRead statement will wait until it times out before it returns rather than return upon receipt of the terminating character from the instrument. This seems to affect only Ethernet based communication over VISA.

The fix is to set this flag to true so that the read will terminate when the terminator character is received from the instrument. This will significantly increase the speed performance of the code. Below is a pseudo code for how to set this attribute to true.

 

status = viSetAttribute(sesn, VI_ATTR_TERMCHAR_EN, VI_TRUE)


©Copyright 2003, Keithley Instruments, Inc.


此常见问题适用于:

产品系列: Keithley 2700 万用表/数据采集/开关系统

产品:

常见问题 ID 69656

查看所有常见问题 »