From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI demonstrates how to write a string into a textfile and save that file to a USB Flash drive connected to a cRIO.
Description
Some cRIOs/sbRIOs offer an USB port which can be used to connect a USB Flash drive or other storage devices to the cRIO. This example shows how to use the USB Flash drive in LabVIEW. Additional information are available in the KnowlegeBase Writing to an External USB Drive or SD Card from a LabVIEW Real-Time Device.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
very useful!
Thanks!
Thank you for your shearing.
If you are all right, could you tell me how to apply this VI for MyRIO?
Best regards,
Naoki
Hi Sir,
May I ask how to read USB data in sbRIO RT mode?
Just change write text file to read?
and does USB data format have limit? (like: string , numeric etc....)
Thank you.
Hi all member forum labview. I wanna ask about saving data on flash disk via MyRio Hardware. I have 2 data, there are current sensor and voltage sensor. I have to measure 2 sensors and save data to flashdisk via MyRIo Hardware. Can u tell me how to create program in labview for this case. Thank a lot.