LabWindows/CVI

Building Multiplatform Applications

This section contains guidelines and caveats for writing platform-independent LabWindows/CVI applications. LabWindows/CVI applications run under Windows 10/8.1/7/Server 2012/Server 2008 for the PC and Linux for x86.

One major feature of LabWindows/CVI is that it supports multiplatform programming. Following a few simple guidelines assures the portability of a LabWindows/CVI application:

  • Write code in strict ANSI C. NI recommends that you do not enable C99 extensionsC99 extensions for multiplatform applications.
  • Observe and repair all LabWindows/CVI compile, link, and run-time diagnostics.
  • Avoid using system-dependent calls when possible.
  • Avoid using non-portable image formats and fonts in your user interface.