Disk Formatting for cRIO Usage
This is a really quick post about a dead simple task that we needed to do recently, which was logging data to an external USB drive on a cRIO, really simple, right, just plug it in! All NI Real-Time devices support FAT32 format, but our 1TB SSD drive that we ordered had a exFAT file system, incompatible with our cRIO.
We needed to format the SSD to use the FAT32 file system, easy peasy, plug it into our laptop and format. Unfortunately not, Windows only allows you to format drives up 32GB in size, so back to the drawing board.
To format our 1TB drive we followed these steps, hopefully this will help others out!
- Plug the drive into the USB port
- Open the command prompt
- Open Diskpart by typing diskpart and accepting administrator privileges
- In diskpart type “list disk“ then Enter to list all disks on the PC and make note of the disk number of the drive
- In diskpart type “select ” then Enter e.g., “select disk 1” to select the drive
- In diskpart type “clean” then Enter to remove all data and partitions from the drive
- Repeat steps 4&5 to reselect the drive
- In diskpart type “create partition primary” then Enter to create the partition
- In diskpart type “list partition” then Enter and confirm the partition is created
- In diskpart type “assign letter=” e.g., “assign letter=U” to assign the letter “U” to the drive (this is the letter of the first drive when you plug a USB drive into the cRIO)
- Windows should now recognise the drive and the following pop-up should appear.
- Cancel the pop-up as Windows cannot format FAT32 of more than 32MB
- Close the command prompt
- Download FAT32format GUI (GUIFormat) 188.8.131.52 (softpedia.com)
- Unzip the download and run the appropriate executable (x86 or x64 dependent upon operating system).
- Select the drive to format and press start
- Wait for completion.
And, you're done! Now for a shameless plug of our user group!
Details of our next MLUG which is on 20th July, can be found here and if you want to check out past events, go to our YouTube channel!
Back to Blog listings