NI產品與技術 討論區

取消
顯示結果 
搜尋替代 
您的意思是: 

使用VISA軟體的發送最大限制問題求助

medium.png

 

 

如圖,在使用 VISA Interactive Control軟體中VISA軟件中Template選項的viSetAttribute子選項中在Attribute Name選項中選擇VI_ATTR_TMO_VALUE選項可以輸入New Value最大可以設到G0xFFFFFFFF)級別的,但是我在設置之後在該軟件最大可以在Basic I/OviWrite中寫入1Mbyte數據,現在我想一次性傳輸更多的資料,請問如何設置?有解決的方法麼?

 

0 積分
1 條訊息(共 3 條)
6,573 檢視

我看到的 VI_ATTR_TMO_VALUE 說明如下:

 

VI_ATTR_TMO_VALUE

VI_ATTR_TMO_VALUE specifies the minimum timeout value to use (in milliseconds) when accessing the device associated with the given session. A timeout value of VI_TMO_IMMEDIATE means that operations should never wait for the device to respond. A timeout value of VI_TMO_INFINITE disables the timeout mechanism.

Notice that the actual timeout value used by the driver may be higher than the requested one. The actual timeout value is returned when this attribute is retrieved via viGetAttribute().

 

 

這是跟 timeout 有關,不太懂你說 1M bytes 的意思...
2 條訊息(共 3 條)
6,570 檢視

首先很感謝您的回帖和幫助,可能是我表達不明確~

我的意思是如下圖輸入超過1mega 的數據的時候輸入不進去,但輸入的數據是可以完全發送的,現在我們需要編寫PC軟體,以此為媒介,能否突破1mega 數據的限制,最大可以傳輸數據量是多少?

001.jpg

0 積分
3 條訊息(共 3 條)
6,558 檢視