LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging to network drive from cRIO 9064 (Linux RT)

Hello helpful LabVIEW devs!

 

I am having an issue that I cannot resolve.

 

Background:

 

 

I am writing software to control a test stand for a client. All of the client's other systems (may not be LV based systems) do all their logging to a network share. The client wants purely headless operation and as part of that, wants to be able to have the cRIO log directly to this network share (of course keeping local backups in case of network issues). I have spent way too much time trying to figure out how to get this working. These logs are at a rate of one csv line per hour.

 

Current Situation:

 

 

The way I see it, I have two options:

 

1) Log locally and use WebDAV to push the file to a network location.

2) SSH into the cRIO and mount the drive, then log to the mounted drive.

 

Option 1 is possible and their IT department has offered to set-up WebDAV support. However, their file share is strictly a file share and does not use IIS so they would have to set it up on a separate server. This is less than ideal so I'm treating it as my last resort.

 

Option 2 is what I'm trying to get done and seems like it should be very simple. However, I cannot get it done.

 

Problem:

 

Using the example here: https://decibel.ni.com/content/docs/DOC-43593

 

I've been trying to run the mount commands. However, there is no cifs support and I am getting errors with the mount command because of it.

 

I've tried an "opkg update" followed by an "opkg install cifs" and I receive an error that the package does not exist. If I grep it "opkg list | grep cifs" there is no match. I've seen in other places on the forums where users have recommended "opkg install cifs" and other users have said it worked for them. However, it seems like the package was removed from the national instruments feeds. In addition, I can't find the package on the angstrom feeds either.

 

Was this package removed? Does anyone know where I can find the cifs.ipk to get cifs support installed on my cRIO? Are there any alternatives I can use?

 

Once again, it's a cRIO 9064 running Linux RT.

0 Kudos
Message 1 of 2
(3,139 Views)

Hi EM_John,

 

The following article outlines a few options for working with file transfer applications on a Linux RT target, so it might merit a quick look:

 

http://digital.ni.com/public.nsf/allkb/FE7B38ACAF00E85586257EAF0070E354

 

I also found a couple other NI community threads that have addressed mounting issues on Linux RT cRIO’s in the past. I’m not sure whether or not they address the same exact context/error(s) you are seeing, but might have some additional insight.

 

https://decibel.ni.com/content/thread/24178

https://decibel.ni.com/content/message/77257

 

I hope this helps!

Ross S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,077 Views)