Creating Platform-Specific Files

If your application calls Code Interface Nodes (CINs) or DLLs, you might have files that are specific to the operating system. A DLL might be available under Windows but not other operating systems. If you write a CIN for multiple platforms, you need a different variation of the VI that contains the CIN for each platform. Use the SCC Edit File Platforms dialog box to mark a file as platform-specific and to create variations of a file for different platforms. Refer to Working with Files From Different Platforms for more information about cross-platform files.

Complete the following steps to mark a file as platform-specific.

  1. Select Tools»Source Code Control»Launch SCC Provider to open the Source Code Control window.
  2. In the SCC window, select the project to which the VI belongs and select Project»Edit Project to display the Edit Project dialog box.
  3. Select the files that you want to make platform-specific.
  4. Click the Platforms button to display the SCC Edit File Platforms dialog box.
  5. If selected, remove the checkmark from the Selection applies to all platforms checkbox.
  6. Select the desired platforms in the listbox on the right of the dialog box. The platforms selected determine the platforms on which the file is available. Use the <Shift> key to select multiple platforms.
  7. If you want to make one version of a file available on some platforms and another version available on others, click the Create a Variation button and select the platforms for the variation.
  8. Click the Save button to permanently mark the file.

Each user of the SCC system must configure the platform for their files. Refer to Selecting the Development Platform for instructions on how to indicate which platform you are using.

If you need to retrieve files for a different platform, you must choose the platform for which you want to retrieve files. After you retrieve the files, reset the platform to its original setting.