Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

cDAQ 9132, Programmatically copy data to thumb drive from USB port

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?

0 Kudos
Message 1 of 4
(2,644 Views)

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

How Do I Determine if My USB Device Is Recognized and Usable by the NI Linux Real-Time Operating Sys...

best regards
Alexander
0 Kudos
Message 2 of 4
(2,589 Views)

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.

0 Kudos
Message 3 of 4
(2,557 Views)

Hello MicahKurtz,

can you post the code or a screenshot of it and how the folder looks like?

best regards
Alexander
0 Kudos
Message 4 of 4
(2,530 Views)