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.



使用编程的手段来确定NI Power Supply或者SMU的系列号



主要软件:
主要软件版本: 1.0
主要软件修正版本: N/A
次要软件: N/A

问题: 我有一块NI Power Supply设备,想要通过编程的手段来确定它的系列号,我没能在NI-DCPower函数选板里找到任何相关的函数可供使用。

解答:

 您所需的功能是存在的,在NI-DCPower驱动中,有些组件是和DAQmx驱动一致的,所以您可以使用DAQmx的属性节点DevSerialNumber来返回您的电源系列号。
在上图中,使用一个Format into String VI来将NI-DCPower资源转换成一个字符串,这样就可以用来在DAQmx驱动的属性节点中使用,来分辨出Active Device。然后您就可以读取产品系列号,以供后续程序代码使用。


相关链接:

附件:





报告日期: 04/16/2010
最近更新: 07/22/2016
文档编号: 58FG4LOQ