LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use file transfer using XMODEM in LabVIEW?

Can any any one suggest how to use file transfer using XMODEM in LabVIEW? Any example VI / llb

Message 1 of 6
(5,417 Views)

Why would you use a protocol from 1977 to transfer data over a serial line?  There's another protocol you may have heard about, called Transmission Control Protocol/Internet Protocol (TCP/IP, for short), that is in current use, much faster, and for which LabVIEW (and other languages) have support.

 

Bob Schor

0 Kudos
Message 2 of 6
(5,386 Views)

If it's for something simple like sending a firmware update to an embedded microcontroller over RS-232, then XMODEM is perfectly fine.There's an old library at LAVA which I've used for this purpose, which you can find here: https://lavag.org/topic/17051-xmodem-library-on-opengorg/#comment-104755

Message 3 of 6
(5,376 Views)

@arteitle wrote:

If it's for something simple like sending a firmware update to an embedded microcontroller over RS-232, then XMODEM is perfectly fine.There's an old library at LAVA which I've used for this purpose, which you can find here: https://lavag.org/topic/17051-xmodem-library-on-opengorg/#comment-104755


For something that simple, why would you complicate it with XMODEM?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 6
(5,366 Views)

XMODEM isn't very complicated, and it implements basic error checking and flow control, which is useful if your receiving end doesn't have enough RAM to hold the entire image before writing it to flash memory. It's also available on most terminal emulator software, so you can use any of them to update your firmware in a pinch.

0 Kudos
Message 5 of 6
(5,330 Views)

Thank you very much for the response. I could able to download the XMODEM llb zip, I will try for the operation of the same.

0 Kudos
Message 6 of 6
(5,270 Views)