 MicahKurtz
		
			MicahKurtz
		
		
		
		
		
		
		
		
	
			05-26-2017 12:32 PM
I have a cDAQ 9132 running LV real-time on Linux OS. Eventually it will be running standalone with just a monitor and keyboard to control it. I need some way for the user to retrieve the data being stored, other then taking out the SD card each time. That would not be very convenient for my test set up. Is there a way to programmatically copy the data to a USB drive once its plugged in. Can anyone point me to any examples?
 Duffy2007
		
			Duffy2007
		
		
		
		
		
		
		
		
	
			05-30-2017 05:35 AM - edited 05-30-2017 06:04 AM
Hello MicahKurtz,
if the usb is detected you can use the "file I/O-> advanced file functions -> copy" to transfer the files from the local drive to the usb drive.
Writing to an External USB Drive or SD Card from a LabVIEW Real-Time Device
Best Practices for Data Logging Performance with cDAQ-913X Controllers
06-05-2017 01:50 PM
Can I copy the entire folder this way? I am currently trying that and I am receiving error code 6. The folder has only 3 text files in it so I know its not too large. I was able to copy just single files over to the USB though, so I know my cDAQ is recognizing it.
 Duffy2007
		
			Duffy2007
		
		
		
		
		
		
		
		
	
			06-09-2017 03:01 PM
Hello MicahKurtz,
can you post the code or a screenshot of it and how the folder looks like?