Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
13 ratings:
 4 out of 5   

Requirements For Transferring LabVIEW VIs Between Platforms

Primary Software: LabVIEW Full Development System
Primary Software Version: 8.2.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems

What is required to transfer VIs between platforms?

When you transfer a VI to another platform, you do not need to convert the file so LabVIEW can read it. Upon opening a VI, it is recompiled for the new platform. This means you must include the block diagram of a VI if you want to take it to another platform. For VIs containing Code Interface Nodes (CINs), you must recompile the CINs on the new platform and then relink them to the ported VI. Eliminate platform-specific functions (for example, AppleEvents for Macintosh, ActiveX or .NET for Windows, and so on) before you port a VI to another platform.

You can move VIs between platforms using networks, modems, and disks. VIs are saved in the same file format on all platforms. If you transfer VIs across a network using ftp or modem, make sure you specify a binary transfer.

If disks are the method of transfer, disk conversion utilities are required to read the disks from other platforms. Conversion utilities change the format of files stored on disk because each platform (Macintosh, Windows, Sun) saves files to disk in a different format. (Note: Some recent versions of Macintosh OS do not require conversion utilities as they are now built into the OS and hidden from the user). Most file conversion utilities not only read files from another platform, but also write files in the disk format of that platform. For example, there are utilities such as MacDisk and TransferPro available for the PC that transfer Macintosh disks to the PC format and vice versa. On the Macintosh, DOS Mounter and Apple File Exchange are two utilities that convert files on DOS-formatted disks to the Macintosh format and vice versa. Open source drivers are also available such at MacFUSE and NTFS-3G that allow windows volumes to be mounted. Additionally, a Windows disk can be shared over a network and be directly accessed via Samba. For Sun and HP systems, there is PC File System (PCFS) that helps Solaris and HP-UX to read and write DOS-formatted disks.

To ease porting between platforms, you can save your VIs into a VI library (all of the points above apply to VI libraries, or LLBs, as well). To facilitate saving all your VIs into a library, select File»Save with Options and click the Development Distribution button in the Save with Options dialog box. This allows you to save all non-vi.lib VIs, controls, and external subroutines to a single library.

Related Links:
LabVIEW 2009 Help: Porting VIs among Platforms


Report Date: 09/20/2000
Last Updated: 03/02/2010
Document ID: 21JDA5LI

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit