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 Switches不能自动生成IVI Logical Name?



硬件: PXI/CompactPCI>>Controllers

问题:

我在电脑上安装了NI Switch Executive,然后安装了NI的开关模块。NI Switches已经在MAX下的DAQmx Devices下面出现。我想使用这些开关在Switch Executive里创建Virtual Device,但是这些开关并没有在Available Switches List里边,如下图所示,只有Sample Matrixs。

 

我知道NI Switch Executive通过IVI Driver获取NI或者第三方的开关。当我打开MAX中的IVI Drivers页面,可以看到Sample Matrix的driver sessions和logical names,但是我的开关并没有相应的内容。

我本以为NI开关的IVI Driver Session和Logical Name都会自动生成。是否我的理解有误?我需要像对第三方开关一样,手动创建driver session和logical name吗?



解答:

你的理解是正确的。NI Switch Executive (NISE)检测到已安装的NI开关,会自动创建logical name和其他需要的IVI配置。但是,这需要系统中具备 IVI Compliant switch driver。

安装NI Switch Executive并不会安装NI-SWITCH驱动,链接如下。NI-SWITCH是NI开关模块的 IVI Compliant switch driver,授权NISE自动创建IVI logical name和driver session。

安装NI-SWITCH驱动之后,你可以重试创建Switch Executive Virtual Device。你可以看到开关模块已经在Available Switches List中了。Logical name就是自动创建的NI-DAQms资源名_ivi。例如,PXI1Slot2_ivi.

注意:你可以通过NI-DAQmx开关功能控制NI开关模块。这就是为什么即使没有安装NI-SWITCH驱动,我们还是可以在MAX中能够看到开关模块。但是,NI-DAQmx开关功能并不支持IVI,所以不能用于在NISE中创建IVI Logical Name。



相关链接: Drivers and Updates: NI-SWITCH 3.8
KnowledgeBase 371DNH85: How Do I Create a Virtual Switch and Use it in my Application?
KnowledgeBase 2Y9A5PZO: How Do I Create Switch Logical Names From Measurement & Automation Explorer?
Developer Zone Tutorial: Learn to Program Switch Systems Using NI Switch Executive
On-Demand Training: IVI Fundamentals I - What Are IVI Drivers? (SSP required)
On-Demand Training: IVI Fundamentals II - Why Use IVI Drivers? (SSP required)

附件:





报告日期: 02/17/2009
最近更新: 09/04/2012
文档编号: 4UGHNA9G