ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino SD-Karte Textdatein auslesen

Solved!
Go to solution

Hallo,

 

ich bin gerade auf der Suche nach einer Lösung zu meinem LabVIEW -> Arduino SD-Karte Problem. 

 

Ich möchte meinen Datenlogger der auf meinem Arduino läuft mit einer LabVIEW Software auslesen. Für jeden Tag an dem ich Datenlogge entsteht eine Datei von ~3MB. Bis jetzt mache ich es so, dass ich die SD-Karte aus meinem Arduino-Datenlogger herausnehme und in meinen Computer einstecke. Jetzt will ich aber nicht immer den Datenlogger ausbauen um an die SD-Karte zu gelangen. Ist es möglich die Dateien über eine Ethernet Schnittstelle zu übertragen? Vielen Dank im Voraus.

0 Kudos
Message 1 of 7
(3,894 Views)

Hi herrx,

 

you should write in English in this forum...

 

Why don't you use the (virtual) serial port of the Arduino?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,877 Views)

Ohh I' sorry I thought that was the german corner. But I'll try it in english again. 

 

I'm looking for an idea to solve my problem LabVIEW -> Adruino SD-card. 

 

I'll want to build a datalogger based on an Arduino. He should log the sensor values on the SD-card and I want to display the data with LabVIEW. Everyday I get a new datafile around 3MB. Everything works well, when I put the SD-card in my PC. But now I want to build this datalogger in my System. I have the USB and the Ethernet Port on my Arduino. Is it possible to see the Arduino like an USB-Stick via Ethernet?

 

Thanks in advance. 

 

0 Kudos
Message 3 of 7
(3,858 Views)

Hi herrx,

 

did you ever had any "USB stick over Ethernet"?

The USB port of the Arduino provides a virtual COM port, so use it...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(3,854 Views)

Yes sure. It works like a NAS or SAN. I just want to select this folder in my LabVIEW system. But i'm not sure if it works without an file directory. My ATMEGA2560 can't provide something like this.

0 Kudos
Message 5 of 7
(3,851 Views)

Hi herrx,

 

a NAS is something completely different than a simple USB stick...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(3,845 Views)
Solution
Accepted by topic author Herrx

I found a nice way to get on my data from SD-Kard via FTP-Server.

 

https://playground.arduino.cc/Code/FTP/

 

0 Kudos
Message 7 of 7
(3,820 Views)