Error -1074135023 NI-DCPower不支援Function 或是 method

更新 Dec 2, 2024

產品資訊

驅動程式

  • NI-DCPower

問題敘述

LabVIEWLabWindows™/CVI中設定電源或電源量測單元 (SMU) 或使用NI-DCPower進行程式設計時,會發生Error -1074135023: IVI: Function or method not supported 。例如,如果我嘗試在PXI-4110上啟用attribute NIDCPOWER_ATTR_OVP_ENABLED ,則會收到下列錯誤。

OVPnotSupportedError4110.png

 

解決方案

出現此錯誤是因為您的硬體不支援去設定成您想使用NI-DCPower 所配置的attribute, function, method, 或是 value

您可以透過開啟驅動程式的說明頁面來驗證裝置所支援的Functions 和 AttributesHelp » NI DC Power Supplies and SMUs Help ,然後瀏覽至下列路徑之一:

  • Programming with NI-DCPower » NI-DCPower Function Reference » Functions » Supported Functions by Device.
  • NI-DCPower » NI-DCPower Function Reference » Attributes » Supported Attributes by Device.

 

相關資訊

例如,您可以確認到PXI-4110不支援啟用NIDCPOWER_ATTR_OVP_ENABLED attribute

OVPnotSupportedAttribute4110.png