简体   繁体   English

在Mac OSX上使用DAQmx和LabView

[英]Using DAQmx with LabView on Mac OSX

I'm working on a project that was created by a coworker, having been built on LabView on Windows. 我正在开发一个由同事创建的项目,该项目是在Windows上的LabView上构建的。 He used a bunch of DAQmx modules, but I'm having trouble opening them on my Mac. 他使用了一堆DAQmx模块,但我在Mac上打开它们时遇到了麻烦。

I realize that DAQmx on the Mac is basically replaced with DAQmxBase - my question is if there's a simple way to switch from one to the other? 我意识到Mac上的DAQmx基本上被DAQmxBase取代 - 我的问题是,是否有一种简单的方法可以从一种切换到另一种? Or would I need to go through and manually change each instance? 或者我需要通过并手动更改每个实例?

If it's the latter, is there any way to maintain consistency as we collaborate on the program? 如果是后者,我们在合作计划时是否有任何方法可以保持一致性?

To switch between the two APIs, you can use a Conditional Disable Structure and use the OS symbol to change which API is used on each platform. 要在两个API之间切换,可以使用条件禁用结构并使用OS符号更改每个平台上使用的API。

Note that NI-DAQmx Base is a subset of NI-DAQmx. 请注意,NI-DAQmx Base是NI-DAQmx的子集。 There's a high likelihood that your colleague has chosen to use capabilities that aren't available on the Mac. 您的同事很可能选择使用Mac上没有的功能。

I'm afraid you have to manually change each VI. 我担心你必须手动更改每个VI。

There is a conversion utility only to go from DAQmxBase to DAQmx (but probably I would do it manually even in this case). 有一个转换实用程序只能从DAQmxBase转到DAQmx(但我可能会在这种情况下手动完成)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM