This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Creating or Migrating a Linux 64-Bit VeriStand™ Custom Device Project in LabVIEW™

Updated Oct 5, 2026

Environment

Software

  • VeriStand
  • VeriStand Custom Devices
  • LabVIEW

This article explains how to create a 64-bit LabVIEW project using the VeriStand Custom Device Project Wizard or migrate an existing VeriStand Custom Device project to target a Linux 64-bit Real-Time controller. This procedure can be used when developing Custom Devices intended to run on Linux 64-bit CompactRIO, Single-Board RIO (sbRIO), or PXI Real-Time targets.

 

VeriStand Custom Devices compiled for a Linux 64-bit PXI target can also run on supported Linux 64-bit CompactRIO targets.

 

For migrated projects, XML modifications are only required if the project does not already contain a Linux x64 PXI target. Projects that already contain a Linux x64 PXI target should still be reviewed and rebuilt in the target version of LabVIEW before deployment.

If Creating a New Custom Device

  1. Install a version of the VeriStand Custom Device Wizard [EXTERNAL LINK] compatible with your LabVIEW version.
  2. Generate the Custom Device project template in the 64-bit version of LabVIEW.
  3. Verify that the project contains a Linux x64 target with the appropriate Engine build specification.
  4. Develop the Custom Device as required.
  5. Build the Engine build specification.

 

If Migrating an Existing Custom Device

  1. Obtain the source code for the Custom Device.
  2. Create a backup of all source files.
  3. Save the LabVIEW project.
  4. Review the LabVIEW project and determine whether a Linux x64 PXI target already exists.
  5. If the project already contains a Linux x64 PXI target:
    1. Open the project in the target version of LabVIEW.
    2. Verify the existing specifications.
    3. Continue to Step 10.
  6. If the project does not contain a Linux x64 PXI target, close the LabVIEW project, then open the .lvproj in a text editor such as Notepad++.
  7. In the generated RT CompactRIO Target - Linux x64 target definition, replace the target attributes with the attributes for a Linux RT PXI chassis. To do so, replace the following lines in the XML:
<Item Name="RT CompactRIO Target - Linux x64" Type="RT CompactRIO">
        <Property Name="alias.name" Type="Str">RT CompactRIO Target - Linux x64</Property>
        <Property Name="alias.value" Type="Str">0.0.0.0</Property>
        <Property Name="CCSymbols" Type="Str">TARGET_TYPE,RT;OS,Linux;CPU,x64;DeviceCode,7735;</Property>
        <Property Name="crio.ControllerPID" Type="Str">7735</Property>
        <Property Name="host.ResponsivenessCheckEnabled" Type="Bool">true</Property>
        <Property Name="host.ResponsivenessCheckPingDelay" Type="UInt">5000</Property>
        <Property Name="host.ResponsivenessCheckPingTimeout" Type="UInt">1000</Property>
        <Property Name="host.TargetCPUID" Type="UInt">9</Property>
        <Property Name="host.TargetOSID" Type="UInt">19</Property>
        <Property Name="host.TargetUIEnabled" Type="Bool">false</Property>
        <Property Name="target.cleanupVisa" Type="Bool">false</Property>

             with the following lines:

<Item Name="RT PXI Target - Linux x64" Type="RT PXI Chassis">
        <Property Name="alias.name" Type="Str">RT PXI Target</Property>
        <Property Name="alias.value" Type="Str">0.0.0.0</Property>
        <Property Name="CCSymbols" Type="Str">TARGET_TYPE,RT;OS,Linux;CPU,x64;</Property>             
        <Property Name="host.ResponsivenessCheckEnabled" Type="Bool">true</Property>
        <Property Name="host.ResponsivenessCheckPingDelay" Type="UInt">5000</Property>
        <Property Name="host.ResponsivenessCheckPingTimeout" Type="UInt">1000</Property>
        <Property Name="host.TargetCPUID" Type="UInt">9</Property>
        <Property Name="host.TargetOSID" Type="UInt">19</Property>                           
        <Property Name="target.cleanupVisa" Type="Bool">false</Property>

  1. Save the .lvproj file.
  2. Reopen the project in LabVIEW.
  3. Verify that the target now appears as RT PXI Target - Linux x64 in the Project Explorer and that it contains the expected build specifications.
  4. Remove any unsupported or unnecessary targets from the LabVIEW project and the Custom Device XML.
    1. This is done by deleting the <Source> sections that have a SupportedTarget attribute of Pharlap, VxWorks or Linux_32_ARM from the <CustomDevice>\<CustomDeviceVI>\SourceDistribution section within the XML.
  5. Under Build Specifications>>Engine Release for the Linux x64 PXI target, verify that RT Driver VI.vi is listed as Always Included in the Source Files section.
  6. Develop the Custom Device as required.
  7. Build the Engine build specification under the Linux x64 PXI target.

The resulting Engine build can be deployed to supported Linux RT PXI and Linux RT 64-bit CompactRIO targets.