From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



如何修改裝置的 VISA Alias



主要軟體:
主要軟體版本: 1.1
主要軟體修正版本:
次要軟體: N/A

問題: 當我試著在 Measurement & Automation Explorer (MAX) 下更改我的裝置的 VISA Alias 時,會出現以下錯誤:

The alias "<alias name>" conflicts with alias for the resource "<resource name>".  Please choose a different alias.

但我在 MAX 下並沒有看到其他裝置使用同樣的 VISA Alias,有什麼方法可以更改我的裝置的 Alias 呢?

解答:

在電腦上更改 VISA Alias 的方式有許多種:

第一種方式是在 MAX 下的 Configuration window 找尋 PXI System 即可修改:

第二種方式是在 MAX 下,從工具列 Tools » NI-VISA » VISA Options。在 VISA 選項視窗裡,General Settings 下選擇 Aliases。從這您可以 Rename Alias(變更)、Add Alias(增加)或 Clear All Alias (清除所有)。當您選取好之後,請點選 Save 按鈕將變更實現。


若以上步驟無法解決問題,您可以嘗試以下步驟:

您可以在硬碟中找到包含您系統上所有 Aliases 的設定檔。這個檔案存在的位置通常分別為

舊版 VISA:

C:\VXIPNP\WinNT\NIvisa\visaconf.ini

新版 VISA:

C:\Documents and Settings\All Users\Application Data\National Instruments\NIvisa

這檔案中儲存著 VISA Alias 。將 visaconf.ini 裡包含錯誤訊息中的 VISA Alias 的那幾行刪除後,通常即可解決問題。



相關連結: KnowledgeBase 2RLC616I: My Serial Ports Have the Wrong Names in LabVIEW and Measurement & Automation Explorer
KnowledgeBase 24EE9N36: Can I Give My GPIB Instruments Custom Names?
Developer Zone Example Program: VISA Alias Configuration Utility for LabVIEW Real-Time and NI-VISA 2.6

附加檔案:





報告日期: 07/23/2007
最後更新: 11/06/2008
文件偏號: 4BMFE74G