Search code examples
macoslabviewnidaqmx

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. He used a bunch of DAQmx modules, but I'm having trouble opening them on my 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? 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?


Solution

  • 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.

    Note that NI-DAQmx Base is a subset of NI-DAQmx. There's a high likelihood that your colleague has chosen to use capabilities that aren't available on the Mac.