Using a Utility USB Drive to Format my Real-Time Phar Lap ETS PXI Controller

Updated Dec 22, 2023

Environment

Hardware

  • PXI-8115
  • PXI-8119
  • PXI-8840
  • PXIe-8100
  • PXIe-8115
  • PXIe-8135
  • PXIe-8821
  • PXIe-8840
  • PXIe-8880
  • PXI-8102
  • PXI-8108
  • PXI-8110

Software

  • LabVIEW Real-Time Module

  • I need to reformat my PXI Real-Time (RT) controller which runs Phar Lap ETS. While there are a number of ways to format the controller, I am looking to format specifically with a USB drive. How do I format my PXI RT controller with a USB drive?
  • I have a PXI controller that has Windows installed, but I would like to convert it to use LabVIEW Real-Time instead. How do I install the Real-Time operating system on my controller?
  • I have a PXI controller that does not have an Operating System on it and I would like to install the Real-Time Operating System.

You can indeed format many PXI RT controllers using a USB Utility Drive. The steps below will help you determine whether or not your controller can be formatted with this technique, and how to go about formatting your controller with this technique if your controller supports this functionality.

Note: If you install the Real-Time operating system for the first time on a PXI, you must purchase the LabVIEW Real-Time Development License.

1. Get the Utility USB Drive Setup
  1. Open NI MAX and select Tools>>Create Desktop PC Utility USB Drive.
  2. Click Yes on the next dialog indicating that the USB drive will be reformatted.
  3. Select the version of the Real-Time Operating system you want to install onto your PXI RT controller. Make sure that the version of the LabVIEW Real-Time Module you are using matches the version you are loading onto your PXI RT controller.
  4. Select the USB drive you wish to format to create the Utility USB Drive. 
  5. Click Yes on the dialog which asks you to confirm the creation of the utility, and warns that all files on the USB drive will be erased. Please backup the data on your USB drive before it is reformatted.
  6. Once the format finishes, you should get a message which indicates that the Utility USB Drive was successfully formatted. Click OK to finish. 

2. Change BIOS settings on the PXI RT controller to boot from the Utility USB Drive
  1. Turn off the PXI RT controller.
  2.  Press <Delete> as the controller starts up to bring up the BIOSIf you follow this step and you see a blank screen, press <F10>
  3. In the BIOS, navigate to the LabVIEW RT menu using the keyboard to navigate.
  4. Select Boot Configuration and set it to Windows/Other OS.
  1. Navigate to the Boot menu and set the Utility USB Disk to the highest boot priority order. This will make the controller boot from the Utility USB Disk upon a restart. If the USB disk does not appear in the BIOS, ensure it is formatted as FAT32 and enable Legacy USB support under the Advanced tab.

If you are using a PXI-8108, PXIe-8108, 8821 or 8110, do the following configuration changes from this tutorial:
  • Navigate to Advanced »SATA Configuration »SATA Mode Selection and select IDE
  • Navigate to Advanced »USB Configuration and enable Legacy USB Support
  • Navigate to Advanced »USB Configuration »Mass Storage Devices and select Auto
  • Navigate to Boot »Hard Drive BBS Priorities »Boot Option #1 and select USB
  1. Navigate to the Exit menu and select Exit Saving Changes. Select Yes in the confirmation dialog.The controller will reboot immediately after saving the new BIOS settings.

3. Reformatting the PXI RT controller
  1. Once you've saved the changes to the BIOS and the controller restarts, if you modified the boot order, it will boot off the Utility USB Drive. Some controllers, PXIe-8135 for instance, will not show the USB Device in the BIOS, so you should instead press the <F10> key during boot and select the device in the bootable USB drive.
  2. Select 6. Format hard disk and choose to format ONLY the RT partition, erase all partitions and create a single new partition.
  1. Select between the FAT32 or Reliance file system to format the controller. It's recommended that you choose Reliance since the Reliance file system is a transactional file system designed for use in embedded systems to preserve data in the event of a power loss. The Reliance file system also supports disk sizes up to 2TB and file sizes up to 4GB. 
  1. Type yes to confirm the reformat.
  2. The PXI controller will go through the reformat and will provide the following message to indicate that the controller has been successfully formatted.
  1. Press any key to reboot the controller. At this point the USB drive can be removed.
  2. Press the <Delete> key to access the BIOS. If you modified the boot order, return the internal hard drive to the first priority.
  3. Navigate again to the LabVIEW RT menu, set Boot Configuration to LabVIEW RT Safe Mode and exit saving the changes to apply the configuration. If you do not do this, the newly formatted RT controller will show up as a RT PC in MAX instead of showing up as a PXI RT controller. You will have to redo the reformat and boot the controller into LabVIEW RT Safe Mode in order for the controller to show up properly. If this does happen, the solution is highlighted in "Why does my Real-Time Controller Identify as a Generic Desktop PC in Measurement and Automation Explorer.
  4. Reenter the BIOS.
  5. If you have an RT PXI controllers equipped with a SATA bus interface for their hard disk drives:
    1. Navigate to the the Advanced tab and select SATA Configuration.
    2. Make sure that AHCI is highlighted for the SATA Mode Selection.
  1. Select the LabVIEW RT tab and change the Boot Configuration to LabVIEW RT.
  2. Exit the BIOS saving the settings.
The controller will reboot, and will be running the LabVIEW Real-Time Operating System now. You should be able to access the controller through MAX, and add necessary software to your controller. You can view the IP address of the newly formatted controller on the console output.

Additional Information

  • If you are interested in installing NI Linux Real-Time on your controller, check if it is supported on Real-Time Controllers and Real-Time Operating System Compatibility and follow the indications provided in Provisioning a PXI Controller to the NI Linux Real-Time Operating System .
  • If you have NI MAX 4.9 or previous, the Create Desktop PC Utility USB Drive option is located in Tools>>Real-Time Disk Utilities.
  • With the release of NI MAX 5.0 and the release of Windows Vista and Windows 7 which don't support the RT Floppy Disk utilities, these options have been removed.
  • If you do not have the Windows/Other OS option in the LabVIEW RT section of the BIOS, it means that your controller doesn't fully support the Utility USB Disk format or the boot order may not be setup correctly. If you choose to format a controller which doesn't fully support this feature, it will be recognized as a RT PC in MAX after the format, and not as a PXI RT. For controllers that don't support the Utility USB Disk option, you will need to use a USB Floppy drive using NI MAX 4.9 or previous or another alternative to format the RT controller.
  • If the Boot Configuration section of the BIOS in the LabVIEW RT  tab was previously set to LabVIEW RT or Safe Mode (which is possible for a previous RT System) you will have to reboot the system after selecting the Windows/Other OS option by navigating to the Exit menu and selecting Exit Saving Changes, to then re-enter the BIOS to change the boot order. This is due to LabVIEW RT and Safe Mode being unable to recognize any bootable USB devices.
  • Some controllers, PXIe-8135 for instance, will not show the USB Device in the BIOS. Instead you should press the <F10> key during boot and select the device in the boot device selection menu.
  • If you choose to erase all partitions while reformatting the PXI controller, on a dual-booting the PXI RT controller with a Windows partition, you will lose the Windows partition.
  • AHCI is important for PXI controllers that use SATA because it allows for the read/write ability of the controllers hard disk drive. If AHCI is not enabled, you will not be able to FTP to/from the hard disk drive..