Mounting and Logging to a Network Attached Storage (Network Drive)

Updated Oct 9, 2018

Reported In

Hardware

  • cRIO-9047

Issue Details

I have a Network Attached Storage (NAS) and I want to be able to log TDMS data to it from my cRIO. How can I do that?

 

Solution

  • In Windows, create a folder that you wish to share. For example, C:\Data.
  • Share the folder. Make sure that a user has RW permission to the folder.
  • Connect to Linux RT shell (make sure SSH is enabled for controller in NI MAX). Putty is a good SSH client.
  • Log in to root.
  • Create a data folder to map to the network shared folder in /home/lvuser:
mkdir /home/lvuser/data
  • Mount network shared folder to the folder you just created. UID=lvuser gives lvuser RW permission to the folder.
mount -t cifs //[IP of remote server]/[name of shared folder]/ -o username=[your username],password=[your password],uid=lvuser /home/lvuser/data
  • You should now be able to log data to the /home/lvuser/data folder from LabVIEW.

WAS THIS ARTICLE HELPFUL?

Not Helpful